@@ -74,13 +74,13 @@ def test_config_dir_darwin():
74
74
config = jupyter_config_dir ()
75
75
assert config == jupyter_config_env
76
76
77
-
77
+ @ pytest . mark . skipif ( sys . platform != "win32" , reason = "only run on windows" )
78
78
def test_config_dir_windows ():
79
- with windows , no_config_env :
79
+ with no_config_env :
80
80
config = jupyter_config_dir ()
81
81
assert config == home_jupyter
82
82
83
- with windows , config_env :
83
+ with config_env :
84
84
config = jupyter_config_dir ()
85
85
assert config == jupyter_config_env
86
86
@@ -112,13 +112,13 @@ def test_data_dir_darwin():
112
112
data = jupyter_data_dir ()
113
113
assert data == realpath ('~/Library/Jupyter' )
114
114
115
-
115
+ @ pytest . mark . skipif ( sys . platform != "win32" , reason = "only run on windows" )
116
116
def test_data_dir_windows ():
117
- with windows , appdata :
117
+ with appdata :
118
118
data = jupyter_data_dir ()
119
119
assert data == realpath (pjoin ('appdata' , 'jupyter' ))
120
120
121
- with windows , appdata , xdg :
121
+ with appdata , xdg :
122
122
# windows should ignore xdg
123
123
data = jupyter_data_dir ()
124
124
assert data == realpath (pjoin ('appdata' , 'jupyter' ))
0 commit comments