mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
bpo41515: Fix assert in test which throws SyntaxWarning. (#25379)
This commit is contained in:
parent
a328d73843
commit
eb77133564
1 changed files with 1 additions and 1 deletions
|
@ -2272,7 +2272,7 @@ class ClassVarTests(BaseTestCase):
|
||||||
class BadModule:
|
class BadModule:
|
||||||
pass
|
pass
|
||||||
BadModule.__module__ = 'bad' # Something not in sys.modules
|
BadModule.__module__ = 'bad' # Something not in sys.modules
|
||||||
assert(get_type_hints(BadModule), {})
|
self.assertEqual(get_type_hints(BadModule), {})
|
||||||
|
|
||||||
class FinalTests(BaseTestCase):
|
class FinalTests(BaseTestCase):
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue