summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_signal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 31e6d37..50cae07 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -42,6 +42,7 @@ def ignoring_eintr(__func, *args, **kwargs):
class GenericTests(unittest.TestCase):
+ @unittest.skipIf(threading is None, "test needs threading module")
def test_enums(self):
for name in dir(signal):
sig = getattr(signal, name)