Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode
This commit is contained in:
parent
b26b1c6d6b
commit
7beeb2b0a5
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue