summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_notimpl.py
Commit message (Collapse)AuthorAge
* py/objsingleton: Use mp_generic_unary_op for singleton objects.Damien George2019-12-27
| | | | | So these types more closely match NoneType, eg they can be hashed, like in CPython.
* tests/basics: Use str.format instead of % for formatting messages.Damien George2019-10-29
| | | | | Only use % formatting when testing % itself, because only str.format is guaranteed to be available on any port.
* py/objtype: Handle NotImplemented return from binary special methods.Paul Sokolovsky2017-08-30
NotImplemented means "try other fallbacks (like calling __rop__ instead of __op__) and if nothing works, raise TypeError". As MicroPython doesn't implement any fallbacks, signal to raise TypeError right away.