diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-25 22:18:30 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-25 22:18:30 (GMT) |
commit | 827bd45b12a417d107f6914e08f5e86b4d082521 (patch) | |
tree | 46ceb9f0533d65599bcd86e8b09f3cf624a88a80 /Lib/test | |
parent | 20f4b447f5cafcfebbc785cba1a7f3b363e794af (diff) | |
download | cpython-827bd45b12a417d107f6914e08f5e86b4d082521.zip cpython-827bd45b12a417d107f6914e08f5e86b4d082521.tar.gz cpython-827bd45b12a417d107f6914e08f5e86b4d082521.tar.bz2 |
Merged revisions 81535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r81535 | victor.stinner | 2010-05-26 00:17:22 +0200 (mer., 26 mai 2010) | 2 lines
Fix the new TestMain.test_decode() of test_base64 for Windows
........
Diffstat (limited to 'Lib/test')
-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') |