diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/micropython/ringio.py | 2 | ||||
| -rw-r--r-- | tests/micropython/ringio.py.exp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/micropython/ringio.py b/tests/micropython/ringio.py index 45774bc2e..a0102ef63 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 b27ea472c..65bae0647 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 +<class 'TypeError'> |
