mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue