Message330796
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__": |
|
Date |
User |
Action |
Args |
2018-11-30 15:59:32 | vstinner | set | recipients:
+ vstinner |
2018-11-30 15:59:32 | vstinner | set | messageid: <1543593572.07.0.788709270274.issue35363@psf.upfronthosting.co.za> |
2018-11-30 15:59:32 | vstinner | link | issue35363 messages |
2018-11-30 15:59:32 | vstinner | create | |
|