File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -221,9 +221,11 @@ def test_platform_things(self):
221221 self .assertEqual (sys .implementation .name , "cpython" )
222222 self .assertEqual (sys .platform , "win32" )
223223 self .assertTrue (sysconfig .get_platform ().startswith ("mingw" ))
224- self .assertTrue (sysconfig .get_config_var ('SOABI' ).startswith ("cp" + f'{ sys .version_info .major } { sys .version_info .minor } ' ))
224+ soabi = sysconfig .get_config_var ('SOABI' )
225+ self .assertTrue (soabi .startswith ("cp" + f'{ sys .version_info .major } { sys .version_info .minor } ' ))
225226 ext_suffix = sysconfig .get_config_var ('EXT_SUFFIX' )
226227 abiflags = sysconfig .get_config_var ('ABIFLAGS' )
228+ self .assertTrue ("." + soabi + "." in ext_suffix )
227229 self .assertTrue (ext_suffix .endswith (".pyd" ))
228230 self .assertTrue ("mingw" in ext_suffix )
229231 self .assertEqual (sysconfig .get_config_var ('SHLIB_SUFFIX' ), ".pyd" )
You can’t perform that action at this time.
0 commit comments