From 726804ea405483872ebc93772aea0ab0bfce0bcf Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 20 Jun 2018 17:11:58 +1000 Subject: tests: Move non-filesystem io tests to basics dir with io_ prefix. --- tests/io/bytesio_ext2.py | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 tests/io/bytesio_ext2.py (limited to 'tests/io/bytesio_ext2.py') 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) -- cgit v1.2.3