From 52f2ba5677cb56b0622ac0d615f0c13916cd24c5 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 18 Oct 2024 23:13:06 +1100 Subject: [PATCH] tests/micropython: Tweak ringio test for targets with terse errors. Signed-off-by: Damien George --- tests/micropython/ringio.py | 2 +- 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 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 +