diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 6e4286ed881..848a5289bab 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -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