diff options
author | Guido van Rossum <guido@python.org> | 2007-07-16 20:51:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-16 20:51:57 (GMT) |
commit | 6a2ccd0273c9694afd81bc141e2005820a30a29c (patch) | |
tree | ededcd291ea8792d91b0f3162f90c68f08caaa83 | |
parent | 307fa8cc8285d7f39550051e0ce7c8ac5504d13f (diff) | |
download | cpython-6a2ccd0273c9694afd81bc141e2005820a30a29c.zip cpython-6a2ccd0273c9694afd81bc141e2005820a30a29c.tar.gz cpython-6a2ccd0273c9694afd81bc141e2005820a30a29c.tar.bz2 |
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.)
-rw-r--r-- | Lib/test/test_urllib2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index dbcfe26..99e3047 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -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, |