commit | c02571484b5d4b7f1efcc65b8a8b896ab8740dfd | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Tue May 29 18:51:25 2007 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Tue May 29 18:51:25 2007 +0000 |
tree | f425b5af31ec392e57dda2739c29bf4c2f36283c | |
parent | 29478ef990eadb04c9c1ff4a803b7c5172b31399 [diff] [blame] |
Fix file test.
diff --git a/Lib/test/test_complex.py b/Lib/test/test_complex.py index af495fb..c0ec50d 100644 --- a/Lib/test/test_complex.py +++ b/Lib/test/test_complex.py
@@ -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()