circuitpython/tests/io/file_long_read.py
Paul Sokolovsky 512465bc66 tests: Add testcase for read by length past EOF.
Currently broken for unicode input streams.
2014-07-22 00:11:37 +03:00

4 lines
56 B
Python

f = open("io/data/file1")
b = f.read(100)
print(len(b))