tests/micropython: Tweak ringio test for targets with terse errors.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2024-10-18 23:13:06 +11:00
parent 1e3b24238e
commit 52f2ba5677
2 changed files with 2 additions and 2 deletions

View File

@ -45,4 +45,4 @@ try:
# Size must be int.
micropython.RingIO(None)
except TypeError as ex:
print(ex)
print(type(ex))

View File

@ -13,4 +13,4 @@ b'\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01'
16
0
b'\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01'
can't convert NoneType to int
<class 'TypeError'>