diff --git a/tests/micropython/ringio.py b/tests/micropython/ringio.py index 45774bc2ee..a0102ef63d 100644 --- a/tests/micropython/ringio.py +++ b/tests/micropython/ringio.py @@ -45,4 +45,4 @@ try: # Size must be int. micropython.RingIO(None) except TypeError as ex: - print(ex) + print(type(ex)) diff --git a/tests/micropython/ringio.py.exp b/tests/micropython/ringio.py.exp index b27ea472c7..65bae06472 100644 --- a/tests/micropython/ringio.py.exp +++ b/tests/micropython/ringio.py.exp @@ -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 +