@@ -62,6 +62,7 @@ def test_failure(self):
6262
6363 def test_abi3_extension_suffixes (self ):
6464 suffixes = self .machinery .EXTENSION_SUFFIXES
65+ platform = sysconfig .get_config_var ("SOABI_PLATFORM" ).strip ('"' )
6566 if 'win32' in sys .platform :
6667 # Either "_d.pyd" or ".pyd" must be in suffixes
6768 self .assertTrue ({"_d.pyd" , ".pyd" }.intersection (suffixes ))
@@ -72,20 +73,10 @@ def test_abi3_extension_suffixes(self):
7273 self .assertNotIn (".abi3.so" , suffixes )
7374 else :
7475 self .assertIn (".abi3.so" , suffixes )
75- self .assertIn (".abi3t.so" , suffixes )
76-
77- @unittest .skipIf (
78- not (sysconfig .get_config_var ("SOABI_PLATFORM" ) or "" ).strip ('"' ),
79- "Linux-only test"
80- )
81- def test_multiarch_abi3_extension_suffixes (self ):
82- suffixes = self .machinery .EXTENSION_SUFFIXES
83- platform = sysconfig .get_config_var ("SOABI_PLATFORM" ).strip ('"' )
84- if Py_GIL_DISABLED :
85- self .assertNotIn (f".abi3-{ platform } .so" , suffixes )
86- else :
87- self .assertIn (f".abi3-{ platform } .so" , suffixes )
88- self .assertIn (f".abi3t-{ platform } .so" , suffixes )
76+ if platform :
77+ self .assertIn (f".abi3t-{ platform } .so" , suffixes )
78+ else :
79+ self .assertIn (".abi3t.so" , suffixes )
8980
9081
9182(Frozen_FinderTests ,
0 commit comments