STINNER Victor <vstin...@redhat.com> added the comment:
I'm unable to reproduce the bug on macOS 10.13.6 using: ./python.exe -m test -F test_eintr --timeout=60 I modified the test to display immediately result into stdout: diff --git a/Lib/test/test_eintr.py b/Lib/test/test_eintr.py index 25f86d3..47b89d3 100644 --- a/Lib/test/test_eintr.py +++ b/Lib/test/test_eintr.py @@ -1,6 +1,8 @@ import os +import sys import signal import unittest +import subprocess from test import support from test.support import script_helper @@ -15,7 +17,9 @@ class EINTRTests(unittest.TestCase): # thread (for reliable signal delivery). tester = support.findfile("eintr_tester.py", subdir="eintrdata") # use -u to try to get the full output if the test hangs or crash - script_helper.assert_python_ok("-u", tester) + proc = subprocess.run([sys.executable, "-u", tester, "-v"]) + if proc.returncode: + self.fail("fail") if __name__ == "__main__": ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35363> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com