summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 060fb83..52f5cfd 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -440,13 +440,12 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
resource_denieds.append(test)
if use_mp:
- from threading import Thread, Lock
+ from threading import Thread
from queue import Queue, Empty
from subprocess import Popen, PIPE, STDOUT
from collections import deque
# TextIOWrapper is not entirely thread-safe now,
# it can produce duplicate output when printing from several threads.
- print_lock = Lock()
debug_output_pat = re.compile(r"\[\d+ refs\]$")
pending = deque()
output = Queue()