summaryrefslogtreecommitdiff
path: root/Lib/test/test_base64.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-05-25 22:17:22 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-05-25 22:17:22 +0000
commit0dee1b859bc53c4486e7f5038c2632673ee6cf9c (patch)
tree40f66a77a0770a1c8cb6e6004f6e9870d80f0436 /Lib/test/test_base64.py
parent479736b31c2500bc12d09c3ff766de6a2ec68ac0 (diff)
downloadcpython-git-0dee1b859bc53c4486e7f5038c2632673ee6cf9c.tar.gz
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.py2
1 files changed, 1 insertions, 1 deletions
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')