diff options
| author | Damien George <damien@micropython.org> | 2024-10-18 23:13:06 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-10-22 14:31:13 +1100 |
| commit | 52f2ba5677cb56b0622ac0d615f0c13916cd24c5 (patch) | |
| tree | 0ba22dc07c47bc730c27b6db6f4b2624ebfd4f16 | |
| parent | 1e3b24238ee35d16e1aee8244423fb7cec91f618 (diff) | |
tests/micropython: Tweak ringio test for targets with terse errors.
Signed-off-by: Damien George <damien@micropython.org>
| -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'> |
