Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_inspect.py
  • Loading branch information
AlexWaygood authored Jun 8, 2024
commit d3a3233b0915e36f871dfdb151232f9120cab9bb
2 changes: 1 addition & 1 deletion Lib/test/test_inspect/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -1704,7 +1704,7 @@ def test_get_annotations_with_stringized_pep695_annotations(self):
self.assertIs(A_annotations["z"].__args__[0], A_type_params[2])

B_annotations = inspect.get_annotations(ann_module695.B, eval_str=True)
self.assertEqual(B_annotations, {"x": int, "y": str, "P": bytes})
self.assertEqual(B_annotations, {"x": int, "y": str, "z": bytes})

generic_function_annotations = inspect.get_annotations(
ann_module695.generic_function, eval_str=True
Expand Down