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