summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test__interpreters.py1
-rw-r--r--Lib/test/test_pyrepl/test_pyrepl.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test__interpreters.py b/Lib/test/test__interpreters.py
index f493a92..14cd50b 100644
--- a/Lib/test/test__interpreters.py
+++ b/Lib/test/test__interpreters.py
@@ -849,7 +849,6 @@ class RunStringTests(TestBase):
ns.pop('__loader__')
self.assertEqual(ns, {
'__name__': '__main__',
- '__annotations__': {},
'__doc__': None,
'__package__': None,
'__spec__': None,
diff --git a/Lib/test/test_pyrepl/test_pyrepl.py b/Lib/test/test_pyrepl/test_pyrepl.py
index 0f3e999..36f940e 100644
--- a/Lib/test/test_pyrepl/test_pyrepl.py
+++ b/Lib/test/test_pyrepl/test_pyrepl.py
@@ -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: