diff --git a/test/functional/tools_versions_test.py b/test/functional/tools_versions_test.py index 4f701bdc9e1..91617ae3449 100644 --- a/test/functional/tools_versions_test.py +++ b/test/functional/tools_versions_test.py @@ -17,14 +17,14 @@ def test_default_cmake(self): default_cmake_version = tools_locations["cmake"]["default"] assert "cmake version {}".format(default_cmake_version) in client.out - @pytest.mark.skipif(platform.system() != "Darwin", reason="3.16 not installed in MacOS") + @pytest.mark.skipif(platform.system() == "Darwin", reason="3.16 not installed in MacOS") @pytest.mark.tool("cmake", "3.16") def test_custom_cmake_3_16(self): client = TestClient() client.run_command('cmake --version') assert "cmake version 3.16" in client.out - @pytest.mark.skipif(platform.system() != "Darwin", reason="3.17 not installed in MacOS") + @pytest.mark.skipif(platform.system() == "Darwin", reason="3.17 not installed in MacOS") @pytest.mark.tool("cmake", "3.17") def test_custom_cmake_3_17(self): client = TestClient()