summaryrefslogtreecommitdiff
path: root/tests/basics/list_mult.py
AgeCommit message (Collapse)Author
2023-05-19py/runtime: If inplace binop fails then try corresponding normal binop.Damien George
The code that handles inplace-operator to normal-binary-operator fallback is moved in this commit from py/objtype.c to py/runtime.c, making it apply to all types, not just user classes. Signed-off-by: Damien George <damien@micropython.org>
2016-08-15tests/basics: Add more list tests to improve coverage testing.Damien George
2014-08-13py: Fix mult by negative number of tuple, list, str, bytes.Damien George
Multiplication of a tuple, list, str or bytes now yields an empty sequence (instead of crashing). Addresses issue #799 Also added ability to mult bytes on LHS by integer.
2014-01-19Move tests in basic/tests/ up one level preparating to multiple test dirs.Paul Sokolovsky