aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/io/bytesio_ext2.py2
-rw-r--r--tests/io/bytesio_ext2.py.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/io/bytesio_ext2.py b/tests/io/bytesio_ext2.py
index c07ad900c..8f624fd58 100644
--- a/tests/io/bytesio_ext2.py
+++ b/tests/io/bytesio_ext2.py
@@ -10,4 +10,4 @@ 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(repr(e))
+ print(type(e), e.args[0] > 0)
diff --git a/tests/io/bytesio_ext2.py.exp b/tests/io/bytesio_ext2.py.exp
index b52e4978a..724aaf63a 100644
--- a/tests/io/bytesio_ext2.py.exp
+++ b/tests/io/bytesio_ext2.py.exp
@@ -1 +1 @@
-OSError(22,)
+<class 'OSError'> True