summaryrefslogtreecommitdiffstatshomepage
path: root/tests/float/string_format.py
Commit message (Collapse)AuthorAge
* tests: Format all Python code with black, except tests in basics subdir.David Lechner2020-03-30
| | | | | | | | | | This adds the Python files in the tests/ directory to be formatted with ./tools/codeformat.py. The basics/ subdirectory is excluded for now so we aren't changing too much at once. In a few places `# fmt: off`/`# fmt: on` was used where the code had special formatting for readability or where the test was actually testing the specific formatting.
* tests: Add boolean-as-integer formatting tests for fixed regression.Yonatan Goldschmidt2020-01-24
| | | | As suggested by @dpgeorge in #5538.
* float/string_format: Split large test in 2.Paul Sokolovsky2016-02-13
|
* tests/float/string_format: Add testcase for incorrect rounding for %f.Paul Sokolovsky2015-11-22
|
* tests: Add more tests to improve coverage, mostly testing exceptions.Damien George2015-08-21
|
* tests: Add some tests for printing floats to improve coverage.Damien George2015-05-28
|
* py: Remove unnecessary extra handling of padding of nan/inf.Damien George2015-05-28
| | | | | | | C's printf will pad nan/inf differently to CPython. Our implementation originally conformed to C, now it conforms to CPython's way. Tests for this are also added in this patch.
* tests: Rename test scripts, changing - to _ for consistency.Damien George2014-07-05
From now on, all new tests must use underscore. Addresses issue #727.