summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix/extra_coverage.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.
* py: Rename MP_QSTR_NULL to MP_QSTRnull to avoid intern collisions.Josh Lloyd2019-09-26
| | | | Fixes #5140.
* py/builtinimport: Populate __file__ when importing frozen or mpy files.Paul m. p. P2019-07-31
| | | | | Note that bytecode already includes the source filename as a qstr so there is no additional memory used by the interning operation here.
* tests/unix/extra_coverage: Don't test stream objs with NULL write fun.Damien George2018-06-18
| | | | | | This behaviour of a NULL write C method on a stream that uses the write adaptor objects is no longer supported. It was only ever used by the coverage build for testing the fail path of mp_get_stream_raise().
* tests/unix: Add coverage test for uio.resource_stream from frozen str.Damien George2018-03-03
|
* tests: Convert remaining "sys.exit()" to "raise SystemExit".Paul Sokolovsky2017-06-10
|
* tests/io: Improve test coverage of io.BufferedWriter.Rami Ali2017-01-17
|
* tests: Improve frozen import test coverage.Rami Ali2017-01-16
|
* tests: Improve stream.c test coverage.Rami Ali2017-01-16
|
* tests/unix/extra_coverage: Add tests for importing frozen packages.Damien George2017-01-08
|
* tests/unix/extra_coverage: Add basic tests to import frozen str and mpy.Damien George2017-01-05
|
* tests/unix/extra_coverage: Add test for str/bytes with invalid hash.Damien George2016-09-02
|
* unix: Make extra-coverage function callable from Python scripts.Damien George2015-05-08
This allows the output of the extra-coverage tests to be checked using the normal run-tests script.