[Python-checkins] r53481 - python/trunk/Lib/test/test_uu.py
neal.norwitz
python-checkins at python.org
Thu Jan 18 06:40:59 CET 2007
Author: neal.norwitz
Date: Thu Jan 18 06:40:58 2007
New Revision: 53481
Modified:
python/trunk/Lib/test/test_uu.py
Log:
Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode
Modified: python/trunk/Lib/test/test_uu.py
==============================================================================
--- python/trunk/Lib/test/test_uu.py (original)
+++ python/trunk/Lib/test/test_uu.py Thu Jan 18 06:40:58 2007
@@ -114,11 +114,11 @@
def test_encode(self):
try:
- fin = open(self.tmpin, 'w')
+ fin = open(self.tmpin, 'wb')
fin.write(plaintext)
fin.close()
- fin = open(self.tmpin, 'r')
+ fin = open(self.tmpin, 'rb')
fout = open(self.tmpout, 'w')
uu.encode(fin, fout, self.tmpin, mode=0644)
fin.close()
More information about the Python-checkins
mailing list