gh-119180: No longer set __annotations__ in __main__ (#124634)

This commit is contained in:
Jelle Zijlstra 2024-09-27 05:49:43 -07:00 committed by GitHub
parent b79a21ea42
commit 365dffbaad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 9 deletions

View file

@ -849,7 +849,6 @@ class RunStringTests(TestBase):
ns.pop('__loader__')
self.assertEqual(ns, {
'__name__': '__main__',
'__annotations__': {},
'__doc__': None,
'__package__': None,
'__spec__': None,