aboutsummaryrefslogtreecommitdiff
path: root/tests/io
diff options
context:
space:
mode:
authorDamien George2014-01-21 21:54:15 +0000
committerDamien George2014-01-21 21:54:15 +0000
commit12eaccacda83a15500dae4616b3c37deecb57182 (patch)
tree5ec75424388c0be9e3591f981982d891c07669cc /tests/io
parent55baff4c9bcbc001cbb8972c289ebfa356d4665b (diff)
parent7280f790881fa174e4d234266ff42f0fe3d847bc (diff)
Merge branch 'master' of github.com:micropython/micropython
Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
Diffstat (limited to 'tests/io')
-rw-r--r--tests/io/file-iter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/io/file-iter.py b/tests/io/file-iter.py
new file mode 100644
index 000000000..48e873996
--- /dev/null
+++ b/tests/io/file-iter.py
@@ -0,0 +1,3 @@
+f = open("io/data/file1")
+for l in f:
+ print(l)