From 8552d4f2b780511a77e7dc0c96d523175edda62a Mon Sep 17 00:00:00 2001 From: nt120 <76904129+nt120-ic@users.noreply.github.com> Date: Thu, 19 Jan 2023 13:07:43 +0200 Subject: [PATCH] Delete print() from test_tags --- tests/test_tags.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_tags.py b/tests/test_tags.py index 34a0f146..7c854735 100644 --- a/tests/test_tags.py +++ b/tests/test_tags.py @@ -234,7 +234,6 @@ def test_version_detection(self, monkeypatch): platforms = list(tags.mac_platforms(arch="x86_64")) if (major, minor) == ("10", "16"): - print(platforms, "macosx_11+") # For 10.16, the real version is at least 11.0. prefix, major, minor, _ = platforms[0].split("_", maxsplit=3) assert prefix == "macosx" @@ -242,7 +241,6 @@ def test_version_detection(self, monkeypatch): assert minor == "0" else: expected = f"macosx_{major}_{minor}_" - print(platforms, expected) assert platforms[0].startswith(expected) def test_version_detection_10_15(self, monkeypatch): @@ -252,7 +250,6 @@ def test_version_detection_10_15(self, monkeypatch): expected = "macosx_10_15_" platforms = list(tags.mac_platforms(arch="x86_64")) - print(platforms, expected) assert platforms[0].startswith(expected) def test_version_detection_compatibility(self, monkeypatch): @@ -270,7 +267,6 @@ def test_version_detection_compatibility(self, monkeypatch): unexpected = "macosx_10_16_" platforms = list(tags.mac_platforms(arch="x86_64")) - print(platforms, unexpected) assert not platforms[0].startswith(unexpected) @pytest.mark.parametrize("arch", ["x86_64", "i386"])