summaryrefslogtreecommitdiff
path: root/tests/io/file_readinto.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io/file_readinto.py')
-rw-r--r--tests/io/file_readinto.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/io/file_readinto.py b/tests/io/file_readinto.py
index cbefc6e04..1f3702a21 100644
--- a/tests/io/file_readinto.py
+++ b/tests/io/file_readinto.py
@@ -7,8 +7,8 @@ print(f.readinto(b))
print(b)
# readinto() on writable file
-f = open('io/data/file1', 'ab')
+f = open("io/data/file1", "ab")
try:
f.readinto(bytearray(4))
except OSError:
- print('OSError')
+ print("OSError")