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:
parent
307fa8cc82
commit
6a2ccd0273
@ -588,7 +588,7 @@ class HandlerTests(unittest.TestCase):
|
|||||||
|
|
||||||
TESTFN = test_support.TESTFN
|
TESTFN = test_support.TESTFN
|
||||||
urlpath = sanepathname2url(os.path.abspath(TESTFN))
|
urlpath = sanepathname2url(os.path.abspath(TESTFN))
|
||||||
towrite = "hello, world\n"
|
towrite = b"hello, world\n"
|
||||||
urls = [
|
urls = [
|
||||||
"file://localhost%s" % urlpath,
|
"file://localhost%s" % urlpath,
|
||||||
"file://%s" % urlpath,
|
"file://%s" % urlpath,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user