diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-25 22:17:22 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-25 22:17:22 (GMT) |
commit | 0dee1b859bc53c4486e7f5038c2632673ee6cf9c (patch) | |
tree | 40f66a77a0770a1c8cb6e6004f6e9870d80f0436 /Lib/test/test_base64.py | |
parent | 479736b31c2500bc12d09c3ff766de6a2ec68ac0 (diff) | |
download | cpython-0dee1b859bc53c4486e7f5038c2632673ee6cf9c.zip cpython-0dee1b859bc53c4486e7f5038c2632673ee6cf9c.tar.gz cpython-0dee1b859bc53c4486e7f5038c2632673ee6cf9c.tar.bz2 |
Fix the new TestMain.test_decode() of test_base64 for Windows
Diffstat (limited to 'Lib/test/test_base64.py')
-rw-r--r-- | Lib/test/test_base64.py | 2 |
1 files changed, 1 insertions, 1 deletions
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') |