diff options
| author | Paul Sokolovsky | 2014-07-22 00:11:37 +0300 |
|---|---|---|
| committer | Paul Sokolovsky | 2014-07-22 00:11:37 +0300 |
| commit | 512465bc66082a37cb696ef7c78e3ee878ffd92f (patch) | |
| tree | 8844fc9642b7f5a05d4c17030b06ce8b21cae6f6 /tests | |
| parent | 951ed9d02ffc826c68ee3af26c3530477e7e6156 (diff) | |
tests: Add testcase for read by length past EOF.
Currently broken for unicode input streams.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/io/file_long_read.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/io/file_long_read.py b/tests/io/file_long_read.py new file mode 100644 index 000000000..8bdd48450 --- /dev/null +++ b/tests/io/file_long_read.py @@ -0,0 +1,3 @@ +f = open("io/data/file1") +b = f.read(100) +print(len(b)) |
