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)
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