diff options
Diffstat (limited to 'tests/io/file_readinto.py')
| -rw-r--r-- | tests/io/file_readinto.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/io/file_readinto.py b/tests/io/file_readinto.py index 1f3702a21..f9004013d 100644 --- a/tests/io/file_readinto.py +++ b/tests/io/file_readinto.py @@ -1,13 +1,13 @@ b = bytearray(30) -f = open("io/data/file1", "rb") +f = open("data/file1", "rb") print(f.readinto(b)) print(b) -f = open("io/data/file2", "rb") +f = open("data/file2", "rb") print(f.readinto(b)) print(b) # readinto() on writable file -f = open("io/data/file1", "ab") +f = open("data/file1", "ab") try: f.readinto(bytearray(4)) except OSError: |
