micropython/tests/basics/subclass_native_exc_new.py.exp

7 lines
217 B
Plaintext

GoodException __new__
<class 'Dummy'> good message
BadException __new__
<class 'TypeError'> exceptions must derive from BaseException
BadException __new__
<class 'TypeError'> exceptions must derive from BaseException