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.)
This commit is contained in:
Guido van Rossum 2007-07-16 20:51:57 +00:00
parent 307fa8cc82
commit 6a2ccd0273
1 changed files with 1 additions and 1 deletions

View File

@ -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,