[Python-checkins] bpo-37531: Skip test_regrtest.test_multiprocessing_timeout() on Windows (GH-16247)

Victor Stinner webhook-mailer at python.org
Tue Sep 17 19:58:33 EDT 2019


https://github.com/python/cpython/commit/b9877cd2cc47b6f3512c171814c4f630286279b9
commit: b9877cd2cc47b6f3512c171814c4f630286279b9
branch: master
author: Victor Stinner <vstinner at redhat.com>
committer: GitHub <noreply at github.com>
date: 2019-09-18T01:58:29+02:00
summary:

bpo-37531: Skip test_regrtest.test_multiprocessing_timeout() on Windows (GH-16247)

It is a known and tracked bug: disable the test until it's fixed.

files:
M Lib/test/test_regrtest.py

diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py
index 931f125eb8f9..ef2ee90d2a0d 100644
--- a/Lib/test/test_regrtest.py
+++ b/Lib/test/test_regrtest.py
@@ -1154,6 +1154,8 @@ def test_garbage(self):
                                   env_changed=[testname],
                                   fail_env_changed=True)
 
+    @unittest.skipIf(sys.platform == 'win32',
+                     'bpo-37531, bpo-38207: test hangs randomly on Windows')
     def test_multiprocessing_timeout(self):
         code = textwrap.dedent(r"""
             import time



More information about the Python-checkins mailing list