Skip to content

Commit

Permalink
gh-104036: Fix direct invocation of test_typing (#104037)
Browse files Browse the repository at this point in the history
Previously, `python -m test test_typing` worked, but `python Lib/test/test_typing.py` did not.
  • Loading branch information
Eclips4 authored May 1, 2023
1 parent 59c27fa commit 4181d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/test/test_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def test_repr(self):
class Sub(Any): pass
self.assertEqual(
repr(Sub),
"<class 'test.test_typing.AnyTests.test_repr.<locals>.Sub'>",
f"<class '{__name__}.AnyTests.test_repr.<locals>.Sub'>",
)

def test_errors(self):
Expand Down

0 comments on commit 4181d07

Please sign in to comment.