Issue #8932: Skip required when compiled --without-threads.
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 @@
         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;'