summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/special_methods2.py
Commit message (Collapse)AuthorAge
* tests/basics: Remove __index__ and __inv__ from special methods tests.Damien George2023-06-01
| | | | | | | MicroPython does not support these special methods, and they may get in the way of other tests (eg indexing with __int__). Signed-off-by: Damien George <damien@micropython.org>
* tests/basics: Enable == and != special-method tests now that they work.Damien George2020-09-18
| | | | | | These work since 3aab54bf434e7f025a91ea05052f1bac439fad8c Signed-off-by: Damien George <damien@micropython.org>
* tests/basics: Add test for matmul operator.Damien George2019-09-26
| | | | This is a Python 3.5 feature so the .exp file is needed.
* tests/basics/special_methods2: Typo fix in comment.Paul Sokolovsky2018-12-13
|
* tests/basics/special_methods2: Enable some additional tests that work.Damien George2018-05-11
| | | | | These special methods are all available if MICROPY_PY_ALL_SPECIAL_METHODS is enabled.
* py/modbuiltins: Make built-in dir support the __dir__ special method.Damien George2018-05-10
| | | | | If MICROPY_PY_ALL_SPECIAL_METHODS is enabled then dir() will now delegate to the special method __dir__ if the object it is listing has this method.
* tests/basics: Convert "sys.exit()" to "raise SystemExit".Paul Sokolovsky2017-06-10
|
* tests/basic/: Make various tests skippable.Paul Sokolovsky2017-02-15
To run the testsuite on small ports.