summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
diff options
context:
space:
mode:
authorStefan Krah <stefan@bytereef.org>2010-06-09 08:56:28 (GMT)
committerStefan Krah <stefan@bytereef.org>2010-06-09 08:56:28 (GMT)
commit0ca4624e8a3328bb53a78d12fd596dfc98eabf89 (patch)
tree407ef4e02dd89b9e9c24b4600ec97d3935a0ee24 /Lib/test/test_capi.py
parent17173cfe7b5f880c02a8f9468f17607ec84e5b39 (diff)
downloadcpython-0ca4624e8a3328bb53a78d12fd596dfc98eabf89.zip
cpython-0ca4624e8a3328bb53a78d12fd596dfc98eabf89.tar.gz
cpython-0ca4624e8a3328bb53a78d12fd596dfc98eabf89.tar.bz2
Issue #8932: Skip required when compiled --without-threads.
Diffstat (limited to 'Lib/test/test_capi.py')
-rw-r--r--Lib/test/test_capi.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index 246e25b..32f8fae 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -36,6 +36,7 @@ class CAPITest(unittest.TestCase):
self.assertEqual(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):
p = subprocess.Popen([sys.executable, "-c",
'import _testcapi;'