commit | 1f2ca56e296bea2e1374458a7ec40692e7145174 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 27 20:44:15 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 27 20:44:15 2007 +0000 |
tree | b7330118c24d0b0187241abf8b91ef854626f238 | |
parent | 09549f44076e84083cbb15dbd6da9d1a3fd6d7f1 [diff] |
Changes in anticipation of stricter str vs. bytes enforcement.
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index fe2d326..5c30e50 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py
@@ -213,7 +213,7 @@ for bufsize in (0, 1, 100): f = None with open(test_support.TESTFN, "wb", bufsize) as f: - f.write("xxx") + f.write(b"xxx") self.assertEqual(f.closed, True) f = None try: