Commit 0dee1b85 authored by Victor Stinner's avatar Victor Stinner

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

parent 479736b3
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment