summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io/file1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-03 22:01:32 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-03 22:01:32 +0100
commitd5f5b2f76698e29f9cc2f0ae682d2475c0d77baa (patch)
tree5e1981a9f39935586e4c5310d1d0c0e3853c6887 /tests/io/file1.py
parent5320bff32c2bb97f36dc9fad62864183520d0327 (diff)
downloadmicropython-d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa.tar.gz
micropython-d5f5b2f76698e29f9cc2f0ae682d2475c0d77baa.zip
py, stream: Implement readlines for a stream.
Diffstat (limited to 'tests/io/file1.py')
-rw-r--r--tests/io/file1.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/io/file1.py b/tests/io/file1.py
index 8552f535bd..7d5154a4f8 100644
--- a/tests/io/file1.py
+++ b/tests/io/file1.py
@@ -2,3 +2,5 @@ f = open("io/data/file1")
print(f.read(5))
print(f.readline())
print(f.read())
+f = open("io/data/file1")
+print(f.readlines())