commit | b644fb43d6ba9d3fe1206079e262c62015e55b3f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 27 23:36:53 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 27 23:36:53 2007 +0000 |
tree | d7589d2b2c96e7b8745d53145068e6514401a1e9 | |
parent | 7a6dd290672a8add669e2637839366f7fe3a3870 [diff] [blame] |
str/bytes strictness.
diff --git a/Lib/test/test_resource.py b/Lib/test/test_resource.py index 25fea97..1216560 100644 --- a/Lib/test/test_resource.py +++ b/Lib/test/test_resource.py
@@ -50,9 +50,9 @@ limit_set = False f = open(test_support.TESTFN, "wb") try: - f.write("X" * 1024) + f.write(b"X" * 1024) try: - f.write("Y") + f.write(b"Y") f.flush() except IOError: if not limit_set: