kopia lustrzana https://github.com/micropython/micropython-lib
The statement "with assertRaises(errtype) as ctxt" checks the type of a raised exception, but did not store the exception into ctxt like unittest of CPython. The exception instance is usually used to check its message or other args. |
||
|---|---|---|
| .. | ||
| tests | ||
| manifest.py | ||
| unittest.py | ||