summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_resource.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_resource.py')
-rw-r--r--Lib/test/test_resource.py4
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: