We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a165c2 commit 53afd30Copy full SHA for 53afd30
tests/test_utils.py
@@ -230,9 +230,10 @@ def test_is_absolute_href_os_aware(self) -> None:
230
# Test cases of (href, expected)
231
232
is_windows = os.name == "nt"
233
+ incl_drive_letter = path_includes_drive_letter()
234
test_cases = [
- ("/item.json", not path_includes_drive_letter()),
235
- ("/home/someuser/Downloads/item.json", not path_includes_drive_letter()),
+ ("/item.json", not incl_drive_letter),
236
+ ("/home/someuser/Downloads/item.json", not incl_drive_letter),
237
("d:/item.json", is_windows),
238
("c:/files/more_files/item.json", is_windows),
239
]
0 commit comments