Author: guido.van.rossum
Date: Mon Jul 16 22:51:57 2007
New Revision: 56404

Modified:
   python/branches/py3k-struni/Lib/test/test_urllib2.py
Log:
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.)


Modified: python/branches/py3k-struni/Lib/test/test_urllib2.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_urllib2.py        (original)
+++ python/branches/py3k-struni/Lib/test/test_urllib2.py        Mon Jul 16 
22:51:57 2007
@@ -588,7 +588,7 @@
 
         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,
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to