summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/modulo.py
Commit message (Collapse)AuthorAge
* py: Fix smallint modulo with negative arguments.Damien George2014-10-22
| | | | Addresses issue #927.
* tests: Split out those tests requiring float and import.Damien George2014-04-17
| | | | | | | | | Tests in basics (which should probably be renamed to core) should not rely on float, or import any non-built-in files. This way these tests can be run when those features are not available. All test in basics now pass on the pyboard using stmhal port, except for string-repr which has some issues with character hex printing.
* Fixed floor division on mp ints and small ints. Added a floordivide test case.Rachel Dowdall2014-03-22
|
* Fixed modulo operator on ints and mp ints to agree with python. Added ↵Rachel Dowdall2014-03-22
intdivmod.c and tests/basics/modulo.py.