From defd5a118ebc5388cd6feef4fa6eeca1e42233bc Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 21 Dec 2017 23:44:05 +0100 Subject: [PATCH] bpo-20891: Skip test_embed.test_bpo20891() 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/test/test_embed.py b/Lib/test/test_embed.py index c7f45b59acc8a1..c9b65485ac7e81 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