summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string_format.py
Commit message (Collapse)AuthorAge
* tests: Add boolean-as-integer formatting tests for fixed regression.Yonatan Goldschmidt2020-01-24
| | | | As suggested by @dpgeorge in #5538.
* tests: Split large tests into smaller files, to run with a small heap.Damien George2016-03-15
| | | | | | | All tests in basics/ directory can now run and pass using 64-bit unix port with only a 16k heap (./run-tests --heapsize 16k). Tests in this directory should remain small so they can be used for ports with a small heap.
* py/objstr: For str.format, add nested/computed fields support.pohmelie2016-02-02
| | | | | | | Eg: '{:{}}'.format(123, '>20') @pohmelie was the original author of this patch, but @dpgeorge made significant changes to reduce code size and improve efficiency.
* py/objstr: In str.format, handle case of no format spec for string arg.Damien George2016-01-04
| | | | | Handles, eg, "{:>20}".format("foo"), where there is no explicit spec for the type of the argument.
* tests: Add tests to improve coverage of objstr.c.Damien George2015-09-03
|
* py/objstr: Simplify error handling for bad conversion specifier.Damien George2015-08-30
|
* py/objstr: Fix error type for badly formatted format specifier.Damien George2015-08-29
| | | | Was KeyError, should be ValueError.
* 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
|
* objstr: Implement kwargs support for str.format().Paul Sokolovsky2015-01-04
|
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
From now on, all new tests must use underscore. Addresses issue #727.