Commit c7d55001 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests: Add test for file.seek().

parent 838eb1fa
f = open("io/data/file1", "rb")
print(f.seek(6))
print(f.read(5))
print(f.seek(0, 1))
print(f.read(4))
print(f.seek(-6, 2))
print(f.read(20))
print(f.seek(0, 0))
print(f.read(5))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment