summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-12-21 23:32:27 (GMT)
committerGitHub <noreply@github.com>2017-12-21 23:32:27 (GMT)
commit2e1ef00171179a8b906631b175cde2e68a804522 (patch)
treea746de330f3401ccafc961ccf0687b087966eb10 /Lib/test/test_capi.py
parent3bc68cff5b821e83ee5df8b8cd13f4f54151b406 (diff)
downloadcpython-2e1ef00171179a8b906631b175cde2e68a804522.zip
cpython-2e1ef00171179a8b906631b175cde2e68a804522.tar.gz
cpython-2e1ef00171179a8b906631b175cde2e68a804522.tar.bz2
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 550ee051d605b909dd75ef686d8e1244a0994394)
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r--Lib/test/test_capi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 6e4286e..848a528 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