File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Lib/test/test_importlib/extension Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 1- from test .support import is_apple_mobile
1+ from test .support import is_apple_mobile , Py_GIL_DISABLED
22from test .test_importlib import abc , util
33
44machinery = util .import_importlib ('importlib.machinery' )
@@ -59,16 +59,14 @@ def test_module(self):
5959 def test_failure (self ):
6060 self .assertIsNone (self .find_spec ('asdfjkl;' ))
6161
62-
63- class ExtensionSuffixTest (unittest .TestCase ):
6462 def test_abi3_extension_suffixes (self ):
65- suffixes = machinery .EXTENSION_SUFFIXES
63+ suffixes = self . machinery .EXTENSION_SUFFIXES
6664 if 'win32' in sys .platform :
6765 self .assertIn (".pyd" , suffixes )
68- if 'cygwin' in sys .platform :
66+ elif 'cygwin' in sys .platform :
6967 pass
7068 else :
71- if not support . Py_GIL_DISABLED :
69+ if not Py_GIL_DISABLED :
7270 self .assertIn (".abi3.so" , suffixes )
7371 self .assertIn (".abi3t.so" , suffixes )
7472
You can’t perform that action at this time.
0 commit comments