Skip to content

Commit e17c429

Browse files
committed
Fix test on MACOSX_DEPLOYMENT_TARGET
1 parent b80ca13 commit e17c429

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_sysconfig.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@ def test_parse_config_h(self):
789789
# _ALWAYS_STR: don't convert values to an integer,
790790
# but quotes are removed
791791
#define IPHONEOS_DEPLOYMENT_TARGET "13.0"
792-
#define MACOSX_DEPLOYMENT_TARGET 10.9
792+
#define MACOSX_DEPLOYMENT_TARGET 10
793793
794794
// Ignore macro without value
795795
#define IGNORE_NO_VALUE
@@ -824,7 +824,7 @@ def test_parse_config_h(self):
824824
'ALT_SOABI': 'cpython-316t-x86_64-linux-gnu',
825825
'ANDROID_API_LEVEL': 0,
826826
'IPHONEOS_DEPLOYMENT_TARGET': '13.0',
827-
'MACOSX_DEPLOYMENT_TARGET': '10.9',
827+
'MACOSX_DEPLOYMENT_TARGET': '10', # str, not int
828828
}
829829
self.assertEqual(vars, expected)
830830

0 commit comments

Comments
 (0)