Skip to content

Commit 41793d4

Browse files
authored
Use unittest.skipUnless
1 parent 1071cb9 commit 41793d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import os
22

33
from test import support
4+
from unittest import skipUnless
45

56

6-
@support.skipUnless(support.Py_GIL_DISABLED, "GIL enabled")
7+
@skipUnless(support.Py_GIL_DISABLED, "GIL enabled")
78
def load_tests(*args):
89
return support.load_package_tests(os.path.dirname(__file__), *args)

0 commit comments

Comments
 (0)