summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-01-18 05:40:58 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-01-18 05:40:58 (GMT)
commit7beeb2b0a53fad4559131126e34340e8a65775b9 (patch)
treec9c9bf9beea4ed6f10436a8958ad935ba12fdb70
parentb26b1c6d6b34d33ca62a66f9936d97f5340cdfda (diff)
downloadcpython-7beeb2b0a53fad4559131126e34340e8a65775b9.zip
cpython-7beeb2b0a53fad4559131126e34340e8a65775b9.tar.gz
cpython-7beeb2b0a53fad4559131126e34340e8a65775b9.tar.bz2
Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode
-rw-r--r--Lib/test/test_uu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_uu.py b/Lib/test/test_uu.py
index 16a55e4..27d0d89 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()