[Python-checkins] bpo-20891: Skip test_embed.test_bpo20891() (#4967)

Victor Stinner webhook-mailer at python.org
Thu Dec 21 18:05:07 EST 2017


https://github.com/python/cpython/commit/550ee051d605b909dd75ef686d8e1244a0994394
commit: 550ee051d605b909dd75ef686d8e1244a0994394
branch: master
author: Victor Stinner <victor.stinner at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-12-22T00:05:05+01:00
summary:

bpo-20891: Skip test_embed.test_bpo20891() (#4967)

Skip the test failing randomly because of known race condition.

Skip the test to fix macOS buildbots until a decision is made on the
proper fix for the race condition.

files:
M Lib/test/test_embed.py

diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py
index c7f45b59acc..c9b65485ac7 100644
--- a/Lib/test/test_embed.py
+++ b/Lib/test/test_embed.py
@@ -198,6 +198,9 @@ def test_pre_initialization_api(self):
         self.assertEqual(out, '')
         self.assertEqual(err, '')
 
+    @unittest.skipIf(True,
+                     "FIXME: test fails randomly because of a race conditon, "
+                     "see bpo-20891")
     def test_bpo20891(self):
         """
         bpo-20891: Calling PyGILState_Ensure in a non-Python thread before



More information about the Python-checkins mailing list