8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3b242 commit 52f2ba5Copy full SHA for 52f2ba5
tests/micropython/ringio.py
@@ -45,4 +45,4 @@
45
# Size must be int.
46
micropython.RingIO(None)
47
except TypeError as ex:
48
- print(ex)
+ print(type(ex))
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'
13
16
14
0
15
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'>
0 commit comments