tests/micropython: Tweak ringio test for targets with terse errors.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
1e3b24238e
commit
52f2ba5677
@ -45,4 +45,4 @@ try:
|
||||
# Size must be int.
|
||||
micropython.RingIO(None)
|
||||
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
|
||||
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'>
|
||||
|
Loading…
Reference in New Issue
Block a user