diff --git a/test/functional/toolchains/env/test_virtualenv_powershell.py b/test/functional/toolchains/env/test_virtualenv_powershell.py index 8829bbf6cc7..db77574b1d1 100644 --- a/test/functional/toolchains/env/test_virtualenv_powershell.py +++ b/test/functional/toolchains/env/test_virtualenv_powershell.py @@ -213,7 +213,6 @@ class Pkg(ConanFile): assert "MYTOOL 1!!" in client.out -@pytest.mark.skipif(platform.system() != "Windows", reason="Test for powershell") @pytest.mark.parametrize("powershell", [None, True, False]) def test_powershell_deprecated_message(powershell): client = TestClient(light=True) @@ -235,6 +234,7 @@ class Pkg(ConanFile): assert "Boolean values for 'tools.env.virtualenv:powershell' are deprecated" not in client.out +@pytest.mark.skipif(platform.system() != "Windows", reason="Test for powershell") @pytest.mark.parametrize("powershell", [True, "pwsh", "powershell.exe"]) def test_powershell_quoting(powershell): client = TestClient(path_with_spaces=False)