summaryrefslogtreecommitdiff
path: root/tests/float/string_format.py
AgeCommit message (Collapse)Author
2020-03-30tests: Format all Python code with black, except tests in basics subdir.David Lechner
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.
2020-01-24tests: Add boolean-as-integer formatting tests for fixed regression.Yonatan Goldschmidt
As suggested by @dpgeorge in #5538.
2016-02-13float/string_format: Split large test in 2.Paul Sokolovsky
2015-11-22tests/float/string_format: Add testcase for incorrect rounding for %f.Paul Sokolovsky
2015-08-21tests: Add more tests to improve coverage, mostly testing exceptions.Damien George
2015-05-28tests: Add some tests for printing floats to improve coverage.Damien George
2015-05-28py: Remove unnecessary extra handling of padding of nan/inf.Damien George
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.
2014-07-05tests: Rename test scripts, changing - to _ for consistency.Damien George
From now on, all new tests must use underscore. Addresses issue #727.