diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-19 18:46:21 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-19 18:46:21 +0200 |
commit | 9954b4b99d9119ea55b1c204b12bad1e7b45589b (patch) | |
tree | e255bbc57931fa3ab338e876d359e138639bd6ff /tests/io/file1.py | |
parent | 8c3858b01623f9527b57b13c44ff97c67bafb00b (diff) | |
download | micropython-9954b4b99d9119ea55b1c204b12bad1e7b45589b.tar.gz micropython-9954b4b99d9119ea55b1c204b12bad1e7b45589b.zip |
Add directory for I/O tests with basic test for file methods.
Diffstat (limited to 'tests/io/file1.py')
-rw-r--r-- | tests/io/file1.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/io/file1.py b/tests/io/file1.py new file mode 100644 index 0000000000..8552f535bd --- /dev/null +++ b/tests/io/file1.py @@ -0,0 +1,4 @@ +f = open("io/data/file1") +print(f.read(5)) +print(f.readline()) +print(f.read()) |