summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string_format_modulo.py
Commit message (Collapse)AuthorAge
* py/objstr: Fix `str % {}` edge case.mcskatkat2023-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 George2023-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 Goldschmidt2020-01-24
| | | | As suggested by @dpgeorge in #5538.
* tests/basics: Automatically skip tests that use str/bytes modulo-format.Damien George2019-10-29
|
* tests/basics: Move string-modulo-format int tests to dedicated file.Damien George2017-03-15
|
* tests/basics/string_format_modulo: Add more tests for dict formatting.Damien George2017-02-03
|
* py/objstr: Fix error reporting for unexpected end of modulo format str.Damien George2015-08-29
|
* tests: Add more tests to improve coverage, mostly testing exceptions.Damien George2015-08-21
|
* tests: Add some more tests for bytes, bignum, string and ujson.Damien George2015-03-14
|
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
From now on, all new tests must use underscore. Addresses issue #727.