bpo-20891: Skip test_embed.test_bpo20891() (#4967) (#4969)

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 550ee051d6)
This commit is contained in:
Victor Stinner 2017-12-22 00:32:27 +01:00 committed by GitHub
parent 3bc68cff5b
commit 2e1ef00171
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -494,6 +494,9 @@ class EmbeddingTests(unittest.TestCase):
self.assertEqual(out, '') self.assertEqual(out, '')
self.assertEqual(err, '') self.assertEqual(err, '')
@unittest.skipIf(True,
"FIXME: test fails randomly because of a race conditon, "
"see bpo-20891")
def test_bpo20891(self): def test_bpo20891(self):
""" """
bpo-20891: Calling PyGILState_Ensure in a non-Python thread before bpo-20891: Calling PyGILState_Ensure in a non-Python thread before