Fix the new TestMain.test_decode() of test_base64 for Windows

This commit is contained in:
Victor Stinner 2010-05-25 22:17:22 +00:00
parent 479736b31c
commit 0dee1b859b
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ class TestMain(unittest.TestCase):
with open(support.TESTFN, 'wb') as fp:
fp.write(b'Yf9iCg==')
output = self.get_output('-d', support.TESTFN)
self.assertEquals(output, b'a\xffb\n')
self.assertEquals(output.rstrip(), b'a\xffb')