This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2018-11-30.15:59:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1543593572.07.0.788709270274.issue35363@psf.upfronthosting.co.za>
In-reply-to
Content
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__":
History
Date User Action Args
2018-11-30 15:59:32vstinnersetrecipients: + vstinner
2018-11-30 15:59:32vstinnersetmessageid: <1543593572.07.0.788709270274.issue35363@psf.upfronthosting.co.za>
2018-11-30 15:59:32vstinnerlinkissue35363 messages
2018-11-30 15:59:32vstinnercreate