Skip to content

Commit

Permalink
correct is_windows in tests part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
KeynesYouDigIt committed Nov 16, 2024
1 parent 2d987ff commit 3434620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ def test_is_absolute_href_os_aware(self) -> None:
test_cases = [
("/item.json", not (is_windows and is_py_3_13)),
("/home/someuser/Downloads/item.json", not (is_windows and is_py_3_13)),
("d:/item.json", (is_windows and is_py_3_13)),
("c:/files/more_files/item.json", (is_windows and is_py_3_13)),
("d:/item.json", is_windows),
("c:/files/more_files/item.json", is_windows),
]

for href, expected in test_cases:
Expand Down

0 comments on commit 3434620

Please sign in to comment.