summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_base64.py
diff options
context:
space:
mode:
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 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')