From 0dee1b859bc53c4486e7f5038c2632673ee6cf9c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 25 May 2010 22:17:22 +0000 Subject: Fix the new TestMain.test_decode() of test_base64 for Windows --- Lib/test/test_base64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_base64.py b/Lib/test/test_base64.py index 7ff0db5..49edf39 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') -- cgit v0.12