From: Neal Norwitz Date: Thu, 18 Jan 2007 05:40:58 +0000 (+0000) Subject: Try reverting part of r53145 that seems to cause the Windows buildbots to fail in... X-Git-Tag: v2.6a1~2258 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7beeb2b0a53fad4559131126e34340e8a65775b9;p=python Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode --- diff --git a/Lib/test/test_uu.py b/Lib/test/test_uu.py index 16a55e4959..27d0d89e34 100644 --- a/Lib/test/test_uu.py +++ b/Lib/test/test_uu.py @@ -114,11 +114,11 @@ class UUFileTest(unittest.TestCase): 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()