summaryrefslogtreecommitdiff
path: root/tests/basics/string-format-modulo.py
AgeCommit message (Collapse)Author
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.
2014-06-05Fix str.modulo when precision is specified.Dave Hylands
2014-06-05objstr: Implement "%(key)s" % {} formatting for strings and dicts.Paul Sokolovsky
Also, make sure that args to "*" format specifiers are bounds-checked properly and don't lead for segfaults in case of mismatch.
2014-04-17tests: Split out those tests requiring float and import.Damien George
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.
2014-04-07Add string formatting support for longlong and mpz.Dave Hylands
2014-04-05Allow floating point arguments with %d,i,u,o,x,X formatsDave Hylands
2014-04-03Implements most of str.moduloDave Hylands
The alternate form for floating point doesn't work yet. The %(name)s form doesn't work yet.
2014-03-31objstr: Very basic implementation of % string formatting operator.Paul Sokolovsky