##// END OF EJS Templates
skip %HOME% 3.8 test on windows, update docs for get_home_dir
Nicholas Bollweg -
Show More
@@ -175,7 +175,8 b' def get_home_dir(require_writable=False):'
175 Uses os.path.expanduser('~'), and checks for writability.
175 Uses os.path.expanduser('~'), and checks for writability.
176
176
177 See stdlib docs for how this is determined.
177 See stdlib docs for how this is determined.
178 $HOME is first priority on *ALL* platforms.
178 For Python <3.8, $HOME is first priority on *ALL* platforms.
179 For Python >=3.8 on Windows, %HOME% is no longer considered.
179
180
180 Parameters
181 Parameters
181 ----------
182 ----------
@@ -128,6 +128,7 b' def test_get_home_dir_2():'
128 nt.assert_equal(home_dir, unfrozen)
128 nt.assert_equal(home_dir, unfrozen)
129
129
130
130
131 @skipif(sys.version_info > (3,8) and os.name == 'nt')
131 @with_environment
132 @with_environment
132 def test_get_home_dir_3():
133 def test_get_home_dir_3():
133 """get_home_dir() uses $HOME if set"""
134 """get_home_dir() uses $HOME if set"""
General Comments 0
You need to be logged in to leave comments. Login now