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

(cherry picked from commit 550ee051d605b909dd75ef686d8e1244a0994394)

Lib/test/test_capi.py

index 6e4286ed881aa296126ee3939b05827328271e86..848a5289bab7141f4f896cc51f49d3be385aaadb 100644 (file)
@@ -494,6 +494,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