From 27f7620e380902f7428301461ed7520574646106 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 22 Dec 2017 00:05:05 +0100 Subject: [PATCH] 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. (cherry picked from commit 550ee051d605b909dd75ef686d8e1244a0994394) --- Lib/test/test_capi.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py index 6e4286ed881aa2..848a5289bab714 100644 --- a/Lib/test/test_capi.py +++ b/Lib/test/test_capi.py @@ -494,6 +494,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