Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | test: remove some obsolete HTML scrubs | Ned Batchelder | 2021-10-17 | 1 | -5/+0 | |
| | ||||||
* | chore: updated HTML gold files | Ned Batchelder | 2021-10-17 | 38 | -383/+626 | |
| | ||||||
* | test: don't show these functions when HTML gold files fail | Ned Batchelder | 2021-10-17 | 2 | -0/+3 | |
| | ||||||
* | test: html scrubs need to account for pytest dir naming | Ned Batchelder | 2021-10-17 | 1 | -0/+1 | |
| | ||||||
* | fix(html): adjust some colors | Ned Batchelder | 2021-10-17 | 1 | -8/+8 | |
| | | | | | | | | - make the yellow border more visible - make the context-blue less vibrant - all colors are lower-case | |||||
* | feat(html): sticky header on pyfile | Ned Batchelder | 2021-10-17 | 1 | -5/+15 | |
| | ||||||
* | refactor(html): use header/main/footer html5 elements | Ned Batchelder | 2021-10-17 | 1 | -8/+8 | |
| | ||||||
* | test: fix the tests/gold/html/Makefile to copy actual output | Ned Batchelder | 2021-10-17 | 1 | -4/+3 | |
| | ||||||
* | test: improve this one html test | Ned Batchelder | 2021-10-17 | 1 | -3/+3 | |
| | ||||||
* | feat: `coverage run` now sets the COVERAGE_RUN environment variable | Ned Batchelder | 2021-10-16 | 1 | -1/+16 | |
| | ||||||
* | test: very minor clean up | Ned Batchelder | 2021-10-16 | 1 | -1/+4 | |
| | ||||||
* | test: subprocess diagnostic for when we need it | Ned Batchelder | 2021-10-16 | 1 | -0/+6 | |
| | ||||||
* | test: we don't need two sys.path restorers | Ned Batchelder | 2021-10-14 | 3 | -15/+6 | |
| | ||||||
* | test: parametrize test_pathologically_long_code_object | Ned Batchelder | 2021-10-14 | 1 | -21/+18 | |
| | | | | | While experimenting with packing branch ends into one int, this test showed a mistake I had made. Turns out it wasn't an obsolete test after all. | |||||
* | test: don't use subprocesses where we don't have to | Ned Batchelder | 2021-10-13 | 3 | -56/+74 | |
| | | | | | | When running tests with `-n 0`, this shaves 4 seconds off the run time. When running the complete test suite with xdist, it takes 2 seconds longer!? | |||||
* | refactor: use the get_report helper | Ned Batchelder | 2021-10-13 | 1 | -6/+1 | |
| | ||||||
* | refactor: no longer need to explicitly omit site-packages | Ned Batchelder | 2021-10-13 | 1 | -15/+0 | |
| | | | | 6.x omits site-packages automatically. | |||||
* | refactor: convert existing imports to start_stop_import | Ned Batchelder | 2021-10-13 | 1 | -15/+6 | |
| | ||||||
* | test: we really don't want to hear about imp being deprecated | Ned Batchelder | 2021-10-12 | 1 | -0/+5 | |
| | ||||||
* | test: add a test that self.stdout() works the way it says. | Ned Batchelder | 2021-10-12 | 1 | -0/+9 | |
| | ||||||
* | fix: use human sorting on human-readable things | Ned Batchelder | 2021-10-12 | 2 | -8/+39 | |
| | ||||||
* | test: lightly test the ast_dump function | Ned Batchelder | 2021-10-12 | 1 | -2/+24 | |
| | ||||||
* | fix: find_writable_pth_directory must expect failure from open() | Michał Górny | 2021-10-12 | 1 | -4/+4 | |
| | | | | | | | Fix find_writable_pth_directory() to expect the OSError from the open() call. In general, this is what's going to happen if the file is not writable. The current logic could only be triggered e.g. if the file was writable but the underlying filesystem run out of space. | |||||
* | fix: source modules need to be re-imported. #1232 | Ned Batchelder | 2021-10-11 | 2 | -13/+11 | |
| | ||||||
* | test: add more tests of run_python_file | Ned Batchelder | 2021-10-11 | 2 | -5/+93 | |
| | | | | | | The tests in test_process run the exception handling in execfile.py, but only under coverage, so metacov can't see it. These smaller tests exercise the code without coverage on top. | |||||
* | test: add a test of hash-based pyc files | Ned Batchelder | 2021-10-11 | 1 | -2/+9 | |
| | ||||||
* | fix: make third-party detection work with namespace packages. #1231 | Ned Batchelder | 2021-10-10 | 1 | -3/+74 | |
| | ||||||
* | refactor: remove some left over test prints | Ned Batchelder | 2021-10-10 | 1 | -3/+0 | |
| | ||||||
* | test: cover the last edge cases in sqldata.py | Ned Batchelder | 2021-10-10 | 1 | -2/+12 | |
| | ||||||
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 1 | -0/+8 | |
| | ||||||
* | refactor: simplify some strange string formatting | Ned Batchelder | 2021-10-10 | 2 | -5/+5 | |
| | ||||||
* | test: test two add_file_tracer possibilities | Ned Batchelder | 2021-10-10 | 1 | -0/+22 | |
| | ||||||
* | refactor: no need for maybe-u prefixes in test regexes | Ned Batchelder | 2021-10-10 | 4 | -11/+11 | |
| | | | | That was for Python 2, which we don't support anymore. | |||||
* | test: run test_data.py with debugging on | Ned Batchelder | 2021-10-10 | 1 | -96/+110 | |
| | ||||||
* | refactor: remove a mixin class from tests | Ned Batchelder | 2021-10-10 | 1 | -67/+64 | |
| | ||||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 11 | -106/+100 | |
| | ||||||
* | refactor: remove a Python 2 thing | Ned Batchelder | 2021-10-10 | 1 | -6/+1 | |
| | ||||||
* | style: use the official designation for utf-8 | Ned Batchelder | 2021-10-10 | 4 | -4/+4 | |
| | | | | | Yes, this is completely unimportant. Don't ask me why I bothered, I'm not really sure. | |||||
* | fix: contexts_by_lineno now returns a true dict | Ned Batchelder | 2021-10-09 | 1 | -3/+24 | |
| | ||||||
* | test: add a test of touching files in an empty CoverageData | Ned Batchelder | 2021-10-09 | 1 | -0/+6 | |
| | ||||||
* | refactor: don't need this print | Ned Batchelder | 2021-10-09 | 1 | -1/+0 | |
| | ||||||
* | test: set_query_contexts takes regex, make the examples look like regex | Ned Batchelder | 2021-10-09 | 1 | -6/+6 | |
| | ||||||
* | test: this xdist defensiveness now seems unneeded | Ned Batchelder | 2021-10-08 | 1 | -26/+0 | |
| | ||||||
* | test: make metacov work with xdist | Ned Batchelder | 2021-10-08 | 1 | -1/+1 | |
| | | | | | | | | | I was using pytest.__file__ as a directory, but in 5.3.2, pytest changed to be a package, so that wasn't the site-packages directory anymore, and our .pth file was written someplace useless. Now we don't rely on the structure of pytest (why did we ever?), and it works again. | |||||
* | test: canonicalize this bit of debug output | Ned Batchelder | 2021-10-08 | 1 | -1/+1 | |
| | ||||||
* | build: make "clean" targets be quiet | Ned Batchelder | 2021-10-08 | 1 | -1/+1 | |
| | ||||||
* | docs: note #1210 in the changelog | Ned Batchelder | 2021-10-06 | 1 | -1/+3 | |
| | ||||||
* | Fix an incompatibility with pyarmor | glacials | 2021-10-06 | 1 | -0/+6 | |
| | ||||||
* | fix: pretend we didn't import third-party packages we use. #1228 | Ned Batchelder | 2021-10-06 | 1 | -1/+19 | |
| | | | | | | tomli couldn't use coverage themselves because we imported it early. Cleaning sys.modules means their own imports will actually execute after coverage has started, so their files will be properly measured. | |||||
* | test: fix flaky multiprocessing tests | Ned Batchelder | 2021-09-29 | 1 | -1/+1 | |
| | | | | | Tests are failing because we expect to see three different pids, but only get two. Is that because the work is being completed too quickly? |