Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/objstr: Fix `str % {}` edge case. | mcskatkat | 2023-09-01 |
| | | | | | | | Eliminate `TypeError` when format string contains no named conversions. This matches CPython behavior. Signed-off-by: mcskatkat <mc_skatkat@hotmail.com> | ||
* | py/obj: Accept user types in mp_obj_get_int_maybe. | Damien George | 2023-06-01 |
| | | | | | | | | | This is possible now that MP_UNARY_OP_INT_MAYBE exists. As a consequence mp_obj_get_int now also supports user types, which was previously possible with MP_UNARY_OP_INT but no tests existed for it. Signed-off-by: Damien George <damien@micropython.org> | ||
* | tests: Add boolean-as-integer formatting tests for fixed regression. | Yonatan Goldschmidt | 2020-01-24 |
| | | | | As suggested by @dpgeorge in #5538. | ||
* | tests/basics: Automatically skip tests that use str/bytes modulo-format. | Damien George | 2019-10-29 |
| | |||
* | tests/basics: Move string-modulo-format int tests to dedicated file. | Damien George | 2017-03-15 |
| | |||
* | tests/basics/string_format_modulo: Add more tests for dict formatting. | Damien George | 2017-02-03 |
| | |||
* | py/objstr: Fix error reporting for unexpected end of modulo format str. | Damien George | 2015-08-29 |
| | |||
* | tests: Add more tests to improve coverage, mostly testing exceptions. | Damien George | 2015-08-21 |
| | |||
* | tests: Add some more tests for bytes, bignum, string and ujson. | Damien George | 2015-03-14 |
| | |||
* | tests: Rename test scripts, changing - to _ for consistency. | Damien George | 2014-07-05 |
From now on, all new tests must use underscore. Addresses issue #727. |