Author: walter.doerwald
Date: Tue May 29 20:51:25 2007
New Revision: 55648
Modified:
python/branches/py3k-struni/Lib/test/test_complex.py
Log:
Fix file test.
Modified: python/branches/py3k-struni/Lib/test/test_complex.py
==============================================================================
--- python/branches/py3k-struni/Lib/test/test_complex.py (original)
+++ python/branches/py3k-struni/Lib/test/test_complex.py Tue May 29
20:51:25 2007
@@ -327,7 +327,7 @@
print(a, b, file=fo)
fo.close()
fo = open(test_support.TESTFN, "rb")
- self.assertEqual(fo.read(), "%s %s\n" % (a, b))
+ self.assertEqual(fo.read(), bytes("%s %s\n" % (a, b)))
finally:
if (fo is not None) and (not fo.closed):
fo.close()
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins