From: Victor Stinner Date: Tue, 25 May 2010 22:17:22 +0000 (+0000) Subject: Fix the new TestMain.test_decode() of test_base64 for Windows X-Git-Tag: v3.2a1~693 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dee1b859bc53c4486e7f5038c2632673ee6cf9c;p=python Fix the new TestMain.test_decode() of test_base64 for Windows --- diff --git a/Lib/test/test_base64.py b/Lib/test/test_base64.py index 7ff0db5cd0..49edf395f1 100644 --- a/Lib/test/test_base64.py +++ b/Lib/test/test_base64.py @@ -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')