summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_signal.py
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2014-04-15 20:40:06 (GMT)
committerStefan Krah <skrah@bytereef.org>2014-04-15 20:40:06 (GMT)
commit63c4b24900c9efa6aa57badbfbc9e7bc74677172 (patch)
treea3d9cfd71fd42e740abf26e2baebd7568364a1a6 /Lib/test/test_signal.py
parent5d1f6c3b15435749002e2f08e8d88812a328c0e5 (diff)
downloadcpython-63c4b24900c9efa6aa57badbfbc9e7bc74677172.zip
cpython-63c4b24900c9efa6aa57badbfbc9e7bc74677172.tar.gz
cpython-63c4b24900c9efa6aa57badbfbc9e7bc74677172.tar.bz2
Skip test_enums in the absence of threading.
Diffstat (limited to 'Lib/test/test_signal.py')
-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)