Kaydet (Commit) 0ca4624e authored tarafından Stefan Krah's avatar Stefan Krah

Issue #8932: Skip required when compiled --without-threads.

üst 17173cfe
...@@ -36,6 +36,7 @@ class CAPITest(unittest.TestCase): ...@@ -36,6 +36,7 @@ class CAPITest(unittest.TestCase):
self.assertEqual(testfunction.attribute, "test") self.assertEqual(testfunction.attribute, "test")
self.assertRaises(AttributeError, setattr, inst.testfunction, "attribute", "test") self.assertRaises(AttributeError, setattr, inst.testfunction, "attribute", "test")
@unittest.skipUnless(threading, 'Threading required for this test.')
def test_no_FatalError_infinite_loop(self): def test_no_FatalError_infinite_loop(self):
p = subprocess.Popen([sys.executable, "-c", p = subprocess.Popen([sys.executable, "-c",
'import _testcapi;' 'import _testcapi;'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment