| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
From now on, all new tests must use underscore.
Addresses issue #727.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
__bool__() and __len__() are just the same as __neg__() or __invert__(),
and require efficient dispatching implementation (not requiring search/lookup).
type->unary_op() is just the right choice for this short of adding
standalone virtual method(s) to already big mp_obj_type_t structure.
|
|
|