Skip to content

Commit

Permalink
Update test_inspect.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored Jun 8, 2024
1 parent 99c5b44 commit d3a3233
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit d3a3233

Please sign in to comment.