mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Skip test_enums in the absence of threading.
This commit is contained in:
parent
5d1f6c3b15
commit
63c4b24900
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue