We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 616d873 commit a16582bCopy full SHA for a16582b
conftest.py
@@ -1,3 +1,4 @@
1
+import platform
2
import sys
3
4
import pytest
@@ -67,3 +68,9 @@ def conditional_skip(request):
67
68
pytest.skip("running integration tests only")
69
if not running_integration_tests and is_integration_test:
70
pytest.skip("skipping integration tests")
71
+
72
73
+@pytest.fixture
74
+def windows_only():
75
+ if platform.system() != 'Windows':
76
+ pytest.skip("Windows only")
setuptools/msvc.py
@@ -1,5 +1,8 @@
"""
Environment info about Microsoft Compilers.
+>>> getfixture('windows_only')
5
+>>> ei = EnvironmentInfo('amd64')
6
7
8
from __future__ import annotations
0 commit comments