Skip to content

Commit

Permalink
Try fixing backcompat problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
anntzer committed Oct 25, 2021
1 parent fa2ccd4 commit ac36a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_typing_inspect.py
Expand Up @@ -306,7 +306,7 @@ def test_origin(self):
self.assertEqual(get_origin(ClassVar[int]), None)
self.assertEqual(get_origin(Generic), Generic)
self.assertEqual(get_origin(Generic[T]), Generic)
self.assertEqual(get_origin(Literal[42]), Literal)
self.assertEqual(get_origin(Literal[42]), Literal[42].__origin__)
if PY39:
self.assertEqual(get_origin(list[int]), list)
if GENERIC_TUPLE_PARAMETRIZABLE:
Expand Down

0 comments on commit ac36a50

Please sign in to comment.