Author: guido.van.rossum
Date: Mon Aug 27 22:44:15 2007
New Revision: 57573
Modified:
python/branches/py3k/Lib/test/test_io.py
Log:
Changes in anticipation of stricter str vs. bytes enforcement.
Modified: python/branches/py3k/Lib/test/test_io.py
==============================================================================
--- python/branches/py3k/Lib/test/test_io.py (original)
+++ python/branches/py3k/Lib/test/test_io.py Mon Aug 27 22:44:15 2007
@@ -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:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins