mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-104036: Fix direct invocation of test_typing (#104037)
Previously, `python -m test test_typing` worked, but `python Lib/test/test_typing.py` did not.
This commit is contained in:
parent
59c27fa5cb
commit
4181d078fc
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class AnyTests(BaseTestCase):
|
|||
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue