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.
This commit is contained in:
Victor Stinner 2017-12-22 00:05:05 +01:00 committed by GitHub
parent 9bee329130
commit 550ee051d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -198,6 +198,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