diff options
Diffstat (limited to 'Lib/test/test_pyrepl/test_interact.py')
-rw-r--r-- | Lib/test/test_pyrepl/test_interact.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pyrepl/test_interact.py b/Lib/test/test_pyrepl/test_interact.py index df97b13..31f08cd 100644 --- a/Lib/test/test_pyrepl/test_interact.py +++ b/Lib/test/test_pyrepl/test_interact.py @@ -105,7 +105,7 @@ class TestSimpleInteract(unittest.TestCase): def test_no_active_future(self): console = InteractiveColoredConsole() - source = "x: int = 1; print(__annotations__)" + source = "x: int = 1; print(__annotate__(1))" f = io.StringIO() with contextlib.redirect_stdout(f): result = console.runsource(source) |