summaryrefslogtreecommitdiff
path: root/lib/spack/spack/test/cmd/providers.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/test/cmd/providers.py')
-rw-r--r--lib/spack/spack/test/cmd/providers.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/spack/spack/test/cmd/providers.py b/lib/spack/spack/test/cmd/providers.py
index e853a1a54c..6c6467378b 100644
--- a/lib/spack/spack/test/cmd/providers.py
+++ b/lib/spack/spack/test/cmd/providers.py
@@ -4,17 +4,13 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
-import sys
-
import pytest
from spack.main import SpackCommand
providers = SpackCommand("providers")
-pytestmark = pytest.mark.skipif(
- sys.platform == "win32", reason="Providers not currently supported on Windows"
-)
+pytestmark = pytest.mark.not_on_windows("Providers not currently supported on Windows")
@pytest.mark.parametrize(