diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-07-02 13:34:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 13:34:55 +0200 |
commit | c45e0d58bc0f949dd5db3aa9035e27e032b19ca1 (patch) | |
tree | 3391212bc1fc535c7fe766fdcf4ab4e8e63ec58a /Lib/test/test_traceback.py | |
parent | c53173aa00689aa1be17ce5406289718f6b30532 (diff) | |
download | cpython-git-revert-14522-remove_unused_imports37.tar.gz |
Revert "Remove unused imports in tests (GH-14518) (GH-14522)"revert-14522-remove_unused_imports37
This reverts commit e34b5f4d6483187969d5149c801d056b72ef2ddb.
Diffstat (limited to 'Lib/test/test_traceback.py')
-rw-r--r-- | Lib/test/test_traceback.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index 8749d095dd..8a3aa8a864 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -110,7 +110,7 @@ class TracebackCases(unittest.TestCase): # Test that tracebacks are correctly printed for encoded source files: # - correct line number (Issue2384) # - respect file encoding (Issue3975) - import sys, subprocess + import tempfile, sys, subprocess, os # The spawned subprocess has its stdout redirected to a PIPE, and its # encoding may be different from the current interpreter, on Windows |