diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index dea03d30b48..718f7b2783d 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -1562,7 +1562,6 @@ def test_debug(): r""" Create some fake stdin input, to feed to the debugger: - >>> import tempfile >>> real_stdin = sys.stdin >>> sys.stdin = _FakeInput(['next', 'print(x)', 'continue'])