Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
get retcode directly
  • Loading branch information
tiran committed Jun 29, 2022
commit bd760602ce534d95374a2bd2ef6fb57a4913866b
3 changes: 1 addition & 2 deletions Lib/test/libregrtest/runtest_mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ def _run_process(self, test_name: str, tmp_dir: str, stdout_fh: TextIO) -> int:

try:
# gh-94026: stdout+stderr are written to tempfile
popen.wait(timeout=self.timeout)
retcode = popen.returncode
retcode = popen.wait(timeout=self.timeout)
assert retcode is not None
return retcode
except subprocess.TimeoutExpired:
Expand Down