tests/micropython: Tweak ringio test for targets with terse errors.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -45,4 +45,4 @@ try:
|
|||||||
# Size must be int.
|
# Size must be int.
|
||||||
micropython.RingIO(None)
|
micropython.RingIO(None)
|
||||||
except TypeError as ex:
|
except TypeError as ex:
|
||||||
print(ex)
|
print(type(ex))
|
||||||
|
|||||||
@@ -13,4 +13,4 @@ b'\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01'
|
|||||||
16
|
16
|
||||||
0
|
0
|
||||||
b'\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01\x00\x01'
|
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'>
|
||||||
|
|||||||
Reference in New Issue
Block a user