mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-119180: No longer set __annotations__
in __main__
(#124634)
This commit is contained in:
parent
b79a21ea42
commit
365dffbaad
4 changed files with 4 additions and 9 deletions
|
@ -1080,7 +1080,7 @@ class TestMain(ReplTestCase):
|
|||
|
||||
@force_not_colorized
|
||||
def test_exposed_globals_in_repl(self):
|
||||
pre = "['__annotations__', '__builtins__'"
|
||||
pre = "['__builtins__'"
|
||||
post = "'__loader__', '__name__', '__package__', '__spec__']"
|
||||
output, exit_code = self.run_repl(["sorted(dir())", "exit()"])
|
||||
if "can't use pyrepl" in output:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue