Kaydet (Commit) 6a2ccd02 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix for one particular test (test_file). There are still four errors.

(This is not the fix suggested by Hasan Diwan in SF patch# 1753889.)
üst 307fa8cc
......@@ -588,7 +588,7 @@ class HandlerTests(unittest.TestCase):
TESTFN = test_support.TESTFN
urlpath = sanepathname2url(os.path.abspath(TESTFN))
towrite = "hello, world\n"
towrite = b"hello, world\n"
urls = [
"file://localhost%s" % urlpath,
"file://%s" % urlpath,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment