Author: guido.van.rossum
Date: Thu May 24 20:00:35 2007
New Revision: 55558

Modified:
   python/branches/py3k-struni/Lib/test/test_set.py
Log:
Fix test_set.

Modified: python/branches/py3k-struni/Lib/test/test_set.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_set.py    (original)
+++ python/branches/py3k-struni/Lib/test/test_set.py    Thu May 24 20:00:35 2007
@@ -272,10 +272,10 @@
         s = self.thetype([w])
         w.value = s
         try:
-            fo = open(test_support.TESTFN, "wb")
+            fo = open(test_support.TESTFN, "w")
             fo.write(str(s))
             fo.close()
-            fo = open(test_support.TESTFN, "rb")
+            fo = open(test_support.TESTFN, "r")
             self.assertEqual(fo.read(), repr(s))
         finally:
             fo.close()
@@ -620,10 +620,10 @@
 
     def test_print(self):
         try:
-            fo = open(test_support.TESTFN, "wb")
+            fo = open(test_support.TESTFN, "w")
             fo.write(str(self.set))
             fo.close()
-            fo = open(test_support.TESTFN, "rb")
+            fo = open(test_support.TESTFN, "r")
             self.assertEqual(fo.read(), repr(self.set))
         finally:
             fo.close()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to