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 9032105 commit b91afcaCopy full SHA for b91afca
1 file changed
Lib/test/test_urllib.py
@@ -714,7 +714,7 @@ def constructLocalFileUrl(self, filePath):
714
filePath.encode("utf-8")
715
except UnicodeEncodeError:
716
raise unittest.SkipTest("filePath is not encodable to utf8")
717
- return "file:%s" % urllib.request.pathname2url(filePath)
+ return "file://%s" % urllib.request.pathname2url(filePath)
718
719
def createNewTempFile(self, data=b""):
720
"""Creates a new temporary file containing the specified data,
0 commit comments