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 7173abd commit 2dae057Copy full SHA for 2dae057
tests/test_utils.py
@@ -178,8 +178,8 @@ def test_make_absolute_href(self) -> None:
178
for source_href, start_href, expected in test_cases:
179
actual = make_absolute_href(source_href, start_href)
180
if expected.startswith("file://"):
181
- _, actual = os.path.splitdrive(actual.replace("file://", ""))
182
- actual = f"file://{actual}"
+ _, actual = os.path.splitdrive(actual.replace("file:///", ""))
+ actual = f"file:///{actual}"
183
else:
184
_, actual = os.path.splitdrive(actual)
185
self.assertEqual(actual, expected)
0 commit comments