Author: walter.doerwald
Date: Thu May 24 20:05:27 2007
New Revision: 55559

Modified:
   python/branches/py3k-struni/Lib/test/list_tests.py
Log:
Don't specify an encoding, let open figure out an
appropriate one.


Modified: python/branches/py3k-struni/Lib/test/list_tests.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/list_tests.py  (original)
+++ python/branches/py3k-struni/Lib/test/list_tests.py  Thu May 24 20:05:27 2007
@@ -53,10 +53,10 @@
         d.append(d)
         d.append(400)
         try:
-            fo = open(test_support.TESTFN, "w", encoding="ascii")
+            fo = open(test_support.TESTFN, "w")
             fo.write(str(d))
             fo.close()
-            fo = open(test_support.TESTFN, "r", encoding="ascii")
+            fo = open(test_support.TESTFN, "r")
             self.assertEqual(fo.read(), repr(d))
         finally:
             fo.close()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to