File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -235,13 +235,13 @@ def test_is_absolute_href_os_aware(self) -> None:
235235 # Windows requires a drive name when python > 3.13 (https://docs.python.org/3/library/os.path.html#os.path.isabs)
236236 is_py_3_13 : bool = sys .version_info .major == 3 and sys .version_info .minor >= 13
237237
238- is_windows = os .name ! = "nt"
238+ is_windows = os .name = = "nt"
239239
240240 test_cases = [
241241 ("/item.json" , not (is_windows and is_py_3_13 )),
242242 ("/home/someuser/Downloads/item.json" , not (is_windows and is_py_3_13 )),
243- # ("d:/item.json", (is_windows and is_py_3_13)),
244- # ("c:/files/more_files/item.json", (is_windows and is_py_3_13)),
243+ ("d:/item.json" , (is_windows and is_py_3_13 )),
244+ ("c:/files/more_files/item.json" , (is_windows and is_py_3_13 )),
245245 ]
246246
247247 for href , expected in test_cases :
You can’t perform that action at this time.
0 commit comments