88from cmdstanpy import install_cxx_toolchain
99
1010
11- @pytest .mark .skipif (platform .system () != 'Windows' , reason = 'Windows only tests' )
1211class InstallCxxScriptTest (unittest .TestCase ):
12+ @pytest .mark .skipif (
13+ platform .system () != 'Windows' , reason = 'Windows only tests'
14+ )
1315 def test_config (self ):
1416 """Test config output."""
1517
@@ -28,6 +30,9 @@ def test_config(self):
2830
2931 self .assertEqual (config , config_reference )
3032
33+ @pytest .mark .skipif (
34+ platform .system () == 'Windows' , reason = 'Windows only tests'
35+ )
3136 def test_install_not_windows (self ):
3237 """Try to install on unsupported platform."""
3338
@@ -38,6 +43,9 @@ def test_install_not_windows(self):
3843 ):
3944 install_cxx_toolchain .main ({})
4045
46+ @pytest .mark .skipif (
47+ platform .system () != 'Windows' , reason = 'Windows only tests'
48+ )
4149 def test_normalize_version (self ):
4250 """Test supported versions."""
4351
@@ -51,6 +59,9 @@ def test_normalize_version(self):
5159 install_cxx_toolchain .normalize_version (ver ), '3.5'
5260 )
5361
62+ @pytest .mark .skipif (
63+ platform .system () != 'Windows' , reason = 'Windows only tests'
64+ )
5465 def test_toolchain_name (self ):
5566 """Check toolchain name."""
5667
0 commit comments