[Python-checkins] r81536 - in python/branches/release31-maint: Lib/test/test_base64.py

victor.stinner python-checkins at python.org
Wed May 26 00:18:30 CEST 2010


Author: victor.stinner
Date: Wed May 26 00:18:30 2010
New Revision: 81536

Log:
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
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/test/test_base64.py

Modified: python/branches/release31-maint/Lib/test/test_base64.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_base64.py	(original)
+++ python/branches/release31-maint/Lib/test/test_base64.py	Wed May 26 00:18:30 2010
@@ -238,7 +238,7 @@
         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')
 
 
 


More information about the Python-checkins mailing list