diff options
author | Guido van Rossum <guido@python.org> | 2007-08-27 23:36:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-27 23:36:53 (GMT) |
commit | b644fb43d6ba9d3fe1206079e262c62015e55b3f (patch) | |
tree | d7589d2b2c96e7b8745d53145068e6514401a1e9 /Lib/test | |
parent | 7a6dd290672a8add669e2637839366f7fe3a3870 (diff) | |
download | cpython-b644fb43d6ba9d3fe1206079e262c62015e55b3f.zip cpython-b644fb43d6ba9d3fe1206079e262c62015e55b3f.tar.gz cpython-b644fb43d6ba9d3fe1206079e262c62015e55b3f.tar.bz2 |
str/bytes strictness.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ class ResourceTest(unittest.TestCase): 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: |