File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -464,11 +464,12 @@ def test_library(self):
464
464
framework = sysconfig .get_config_var ('PYTHONFRAMEWORK' )
465
465
self .assertEqual (ldlibrary , f"{ framework } .framework/{ framework } " )
466
466
else :
467
- self .assertEqual (library , f'libpython{ major } .{ minor } { abiflags } .a' )
467
+ self .assertStartsWith (library , f'libpython{ major } .{ minor } ' )
468
+ self .assertEndsWith (library , '.a' )
468
469
if sys .platform == 'darwin' and sys ._framework :
469
470
self .skipTest ('gh-110824: skip LDLIBRARY test for framework build' )
470
471
else :
471
- self .assertStartsWith (ldlibrary , f'libpython{ major } .{ minor } { abiflags } ' )
472
+ self .assertStartsWith (ldlibrary , f'libpython{ major } .{ minor } ' )
472
473
473
474
@unittest .skipUnless (sys .platform == "darwin" , "test only relevant on MacOSX" )
474
475
@requires_subprocess ()
You can’t perform that action at this time.
0 commit comments