| 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. | |||
| 2016-09-27 | py/modmicropython: Add micropython.const, alias for identity function. | Damien George | |
| Having a micropython.const identity function, and writing "from micropython import const" at the start of scripts that use the const feature, allows to write scripts which are compatible with CPython, and with uPy builds that don't include const optimisation. This patch adds such a function and updates the tests to do the import. | |||
| 2016-09-27 | tests/micropython: Add tests for const names being replaced in parser. | Damien George | |
