aboutsummaryrefslogtreecommitdiff
path: root/tests/io/bytesio_ext2.py
diff options
context:
space:
mode:
authorDamien George2018-06-20 17:11:58 +1000
committerDamien George2018-06-27 16:55:05 +1000
commit726804ea405483872ebc93772aea0ab0bfce0bcf (patch)
treef3ee9544b5ea83dfa671e40a4341bf91524e785c /tests/io/bytesio_ext2.py
parentbc6c56d75d1b954b42b01dc8e10e283523b2e902 (diff)
tests: Move non-filesystem io tests to basics dir with io_ prefix.
Diffstat (limited to 'tests/io/bytesio_ext2.py')
-rw-r--r--tests/io/bytesio_ext2.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/io/bytesio_ext2.py b/tests/io/bytesio_ext2.py
deleted file mode 100644
index 8f624fd58..000000000
--- a/tests/io/bytesio_ext2.py
+++ /dev/null
@@ -1,13 +0,0 @@
-try:
- import uio as io
-except ImportError:
- import io
-
-a = io.BytesIO(b"foobar")
-try:
- a.seek(-10)
-except Exception as e:
- # CPython throws ValueError, but MicroPython has consistent stream
- # interface, so BytesIO raises the same error as a real file, which
- # is OSError(EINVAL).
- print(type(e), e.args[0] > 0)