◐ Shell
clean mode source ↗

bpo-34276: round-trip file URI's with multiple leading slashes by epicfaace · Pull Request #15297 · python/cpython

Expand Up @@ -157,6 +157,12 @@ def test_roundtrips(self): ('file:///tmp/junk.txt', ('file', '', '/tmp/junk.txt', '', '', ''), ('file', '', '/tmp/junk.txt', '', '')), ('file:////tmp/junk.txt', ('file', '', '//tmp/junk.txt', '', '', ''), ('file', '', '//tmp/junk.txt', '', '')), ('file://///tmp/junk.txt', ('file', '', '///tmp/junk.txt', '', '', ''), ('file', '', '///tmp/junk.txt', '', '')), ('imap://mail.python.org/mbox1', ('imap', 'mail.python.org', '/mbox1', '', '', ''), ('imap', 'mail.python.org', '/mbox1', '', '')), Expand Down