We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aebbd1 commit a661392Copy full SHA for a661392
Lib/test/libregrtest/runtest_mp.py
@@ -152,6 +152,11 @@ def _kill(self):
152
print(f"Kill {self}", file=sys.stderr, flush=True)
153
try:
154
popen.kill()
155
+ except ProcessLookupError:
156
+ # Process completed, the TestWorkerProcess thread read its exit
157
+ # status, but Popen.send_signal() read the returncode just before
158
+ # Popen.wait() set returncode.
159
+ pass
160
except OSError as exc:
161
print_warning(f"Failed to kill {self}: {exc!r}")
162
0 commit comments