]> granicus.if.org Git - python/commitdiff
bpo-20891: Skip test_embed.test_bpo20891() (#4967)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 21 Dec 2017 23:05:05 +0000 (00:05 +0100)
committerGitHub <noreply@github.com>
Thu, 21 Dec 2017 23:05:05 +0000 (00:05 +0100)
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.

Lib/test/test_embed.py

index c7f45b59acc8a10e5eff3df08bd15eee57cd40aa..c9b65485ac7e8193980833f1e0131f3209b61889 100644 (file)
@@ -198,6 +198,9 @@ class EmbeddingTests(unittest.TestCase):
         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