mirror of https://github.com/python/cpython.git
Skip test_enums in the absence of threading.
This commit is contained in:
parent
5d1f6c3b15
commit
63c4b24900
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue