Skip to content

Commit b91afca

Browse files
committed
Undo unnecessary change
1 parent 9032105 commit b91afca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_urllib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ def constructLocalFileUrl(self, filePath):
714714
filePath.encode("utf-8")
715715
except UnicodeEncodeError:
716716
raise unittest.SkipTest("filePath is not encodable to utf8")
717-
return "file:%s" % urllib.request.pathname2url(filePath)
717+
return "file://%s" % urllib.request.pathname2url(filePath)
718718

719719
def createNewTempFile(self, data=b""):
720720
"""Creates a new temporary file containing the specified data,

0 commit comments

Comments
 (0)