@@ -234,15 +234,13 @@ def test_version_detection(self, monkeypatch):
234
234
235
235
platforms = list (tags .mac_platforms (arch = "x86_64" ))
236
236
if (major , minor ) == ("10" , "16" ):
237
- print (platforms , "macosx_11+" )
238
237
# For 10.16, the real version is at least 11.0.
239
238
prefix , major , minor , _ = platforms [0 ].split ("_" , maxsplit = 3 )
240
239
assert prefix == "macosx"
241
240
assert int (major ) >= 11
242
241
assert minor == "0"
243
242
else :
244
243
expected = f"macosx_{ major } _{ minor } _"
245
- print (platforms , expected )
246
244
assert platforms [0 ].startswith (expected )
247
245
248
246
def test_version_detection_10_15 (self , monkeypatch ):
@@ -252,7 +250,6 @@ def test_version_detection_10_15(self, monkeypatch):
252
250
expected = "macosx_10_15_"
253
251
254
252
platforms = list (tags .mac_platforms (arch = "x86_64" ))
255
- print (platforms , expected )
256
253
assert platforms [0 ].startswith (expected )
257
254
258
255
def test_version_detection_compatibility (self , monkeypatch ):
@@ -270,7 +267,6 @@ def test_version_detection_compatibility(self, monkeypatch):
270
267
unexpected = "macosx_10_16_"
271
268
272
269
platforms = list (tags .mac_platforms (arch = "x86_64" ))
273
- print (platforms , unexpected )
274
270
assert not platforms [0 ].startswith (unexpected )
275
271
276
272
@pytest .mark .parametrize ("arch" , ["x86_64" , "i386" ])
0 commit comments