mirror of https://github.com/python/cpython.git
Issue #8932: Skip required when compiled --without-threads.
This commit is contained in:
parent
17173cfe7b
commit
0ca4624e8a
|
@ -36,6 +36,7 @@ def test_instancemethod(self):
|
||||||
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;'
|
||||||
|
|
Loading…
Reference in New Issue