| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-03-30 | tests: 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. | |||
| 2018-09-04 | tests/float/cmath_fun.py: Fix truncation of small real part of complex. | Damien George | |
| 2017-06-08 | tests/float: Convert "sys.exit()" to "raise SystemExit". | Damien George | |
| The latter is shorter and simpler because it doesn't require importing the sys module. | |||
| 2016-01-08 | tests: Allow float tests to run when MATH_SPECIAL_FUNCTIONS is disabled. | Damien George | |
| 2015-02-08 | py: Parse big-int/float/imag constants directly in parser. | Damien George | |
| Previous to this patch, a big-int, float or imag constant was interned (made into a qstr) and then parsed at runtime to create an object each time it was needed. This is wasteful in RAM and not efficient. Now, these constants are parsed straight away in the parser and turned into objects. This allows constants with large numbers of digits (so addresses issue #1103) and takes us a step closer to #722. | |||
| 2015-02-02 | tests: Add test for cmath module. | Damien George | |
