Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/runtime: Fix bool unary op for subclasses of native types. | Jim Mussared | 2021-07-23 |
| | | | | | | | Previously a subclass of a type that didn't implement unary_op, or didn't handle MP_UNARY_OP_BOOL, would raise TypeError on bool conversion. Fixes #5677. | ||
* | tests: Add test for "not" of a user defined class. | Damien George | 2015-12-10 |
| | |||
* | tests: Add some tests to improve coverage. | Damien George | 2015-01-29 |
| | | | | | Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly. | ||
* | py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int. | Damien George | 2014-01-27 |