diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2020-02-20 22:30:49 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2021-07-23 12:40:00 +1000 |
| commit | 4e39ff221abff9d1d7d7fc654da67a89a7543112 (patch) | |
| tree | 6c26ab519d0a9fac8d3f6e7776d65031421ba3fa /tests/basics/bytearray1.py | |
| parent | 14b853eae052f6d8ef285931336ca1212af76716 (diff) | |
py/runtime: Fix bool unary op for subclasses of native types.
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.
Diffstat (limited to 'tests/basics/bytearray1.py')
0 files changed, 0 insertions, 0 deletions
