Skip to content

Commit 3434620

Browse files
correct is_windows in tests part 2
1 parent 2d987ff commit 3434620

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ def test_is_absolute_href_os_aware(self) -> None:
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),
244+
("c:/files/more_files/item.json", is_windows),
245245
]
246246

247247
for href, expected in test_cases:

0 commit comments

Comments
 (0)