Skip to content

Commit 67bd518

Browse files
nikodemasnt120-ic
andauthored
Delete print() from test_tags (#668)
Co-authored-by: nt120 <[email protected]>
1 parent 1b9da44 commit 67bd518

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/test_tags.py

-4
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,13 @@ def test_version_detection(self, monkeypatch):
234234

235235
platforms = list(tags.mac_platforms(arch="x86_64"))
236236
if (major, minor) == ("10", "16"):
237-
print(platforms, "macosx_11+")
238237
# For 10.16, the real version is at least 11.0.
239238
prefix, major, minor, _ = platforms[0].split("_", maxsplit=3)
240239
assert prefix == "macosx"
241240
assert int(major) >= 11
242241
assert minor == "0"
243242
else:
244243
expected = f"macosx_{major}_{minor}_"
245-
print(platforms, expected)
246244
assert platforms[0].startswith(expected)
247245

248246
def test_version_detection_10_15(self, monkeypatch):
@@ -252,7 +250,6 @@ def test_version_detection_10_15(self, monkeypatch):
252250
expected = "macosx_10_15_"
253251

254252
platforms = list(tags.mac_platforms(arch="x86_64"))
255-
print(platforms, expected)
256253
assert platforms[0].startswith(expected)
257254

258255
def test_version_detection_compatibility(self, monkeypatch):
@@ -270,7 +267,6 @@ def test_version_detection_compatibility(self, monkeypatch):
270267
unexpected = "macosx_10_16_"
271268

272269
platforms = list(tags.mac_platforms(arch="x86_64"))
273-
print(platforms, unexpected)
274270
assert not platforms[0].startswith(unexpected)
275271

276272
@pytest.mark.parametrize("arch", ["x86_64", "i386"])

0 commit comments

Comments
 (0)