Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix: source modules need to be re-imported. #1232 | Ned Batchelder | 2021-10-11 | 7 | -42/+78 | |
| | ||||||
* | test: add more tests of run_python_file | Ned Batchelder | 2021-10-11 | 3 | -9/+95 | |
| | | | | | | 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. | |||||
* | build: clean up the Makefile a bit | Ned Batchelder | 2021-10-11 | 1 | -9/+6 | |
| | ||||||
* | test: add a test of hash-based pyc files | Ned Batchelder | 2021-10-11 | 1 | -2/+9 | |
| | ||||||
* | refactor: remove qualname code that was only for Python 2 | Ned Batchelder | 2021-10-11 | 1 | -31/+5 | |
| | ||||||
* | fix: make third-party detection work with namespace packages. #1231 | Ned Batchelder | 2021-10-10 | 3 | -12/+113 | |
| | ||||||
* | style: the name of the matchers don't need quotes in the reprs | Ned Batchelder | 2021-10-10 | 1 | -3/+3 | |
| | ||||||
* | 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 | 2 | -6/+16 | |
| | ||||||
* | fix: raise CoverageException for SQLite connection errorsnedbat/sqldata-edge-tests | Ned Batchelder | 2021-10-10 | 2 | -1/+13 | |
| | ||||||
* | 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 | 14 | -140/+133 | |
| | ||||||
* | 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 | 11 | -16/+16 | |
| | | | | | 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 | 5 | -17/+40 | |
| | ||||||
* | 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 | |
| | ||||||
* | style: make string quotes uniform | Ned Batchelder | 2021-10-09 | 1 | -74/+71 | |
| | ||||||
* | test: set_query_contexts takes regex, make the examples look like regex | Ned Batchelder | 2021-10-09 | 1 | -6/+6 | |
| | ||||||
* | refactor: this import was only needed for Python 2 | Ned Batchelder | 2021-10-08 | 1 | -4/+1 | |
| | ||||||
* | test: mark some uncovered things | Ned Batchelder | 2021-10-08 | 3 | -3/+12 | |
| | ||||||
* | 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 | 3 | -5/+4 | |
| | | | | | | | | | 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 | 2 | -2/+2 | |
| | ||||||
* | build: make "clean" targets be quiet | Ned Batchelder | 2021-10-08 | 2 | -21/+22 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2021-10-06 | 2 | -1/+7 | |
| | ||||||
* | build: prep for 6.0.16.0.1 | Ned Batchelder | 2021-10-06 | 4 | -6/+8 | |
| | ||||||
* | docs: this document isn't in a toc, and that's ok | Ned Batchelder | 2021-10-06 | 1 | -0/+2 | |
| | ||||||
* | fix: make exceptions importable from coverage.misc again. #1226 | Ned Batchelder | 2021-10-06 | 2 | -1/+13 | |
| | ||||||
* | docs: note #1210 in the changelog | Ned Batchelder | 2021-10-06 | 3 | -1/+9 | |
| | ||||||
* | Fix an incompatibility with pyarmor | glacials | 2021-10-06 | 2 | -1/+7 | |
| | ||||||
* | fix: pretend we didn't import third-party packages we use. #1228 | Ned Batchelder | 2021-10-06 | 4 | -7/+52 | |
| | | | | | | 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. | |||||
* | build: 3.10.0 is out | Ned Batchelder | 2021-10-05 | 3 | -2/+3 | |
| | ||||||
* | docs: the 5.0 change summary shouldn't be so prominent anymore | Ned Batchelder | 2021-10-04 | 2 | -4/+4 | |
| | ||||||
* | build: bump version | Ned Batchelder | 2021-10-02 | 2 | -1/+7 | |
| | ||||||
* | docs: 6.0 sample HTML report6.0 | Ned Batchelder | 2021-10-02 | 15 | -852/+849 | |
| | ||||||
* | build: prep for 6.0 release | Ned Batchelder | 2021-10-02 | 5 | -9/+12 | |
| | ||||||
* | docs: update the link to shining panda | Ned Batchelder | 2021-10-02 | 1 | -1/+1 | |
| | ||||||
* | 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? | |||||
* | chore: update requirements | Ned Batchelder | 2021-09-29 | 5 | -16/+16 | |
| | ||||||
* | test: update pylint | Ned Batchelder | 2021-09-29 | 3 | -2/+4 | |
| | ||||||
* | Python 3.10.0rc2 | Ned Batchelder | 2021-09-08 | 3 | -3/+3 | |
| | ||||||
* | docs: thanks, Clément Pit-Claudel | Ned Batchelder | 2021-09-02 | 2 | -0/+6 | |
| | ||||||
* | fix: Avoid a race condition in misc.ensure_dir (#1220) | Clément Pit-Claudel | 2021-09-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * coverage/misc.py (ensure_dir): Pass exist_ok to os.makedirs, ensuring that if two concurrent instances of coverage.py entering this function at the same time won't fail with FileExistsError. Sample backtrace: Traceback (most recent call last): File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/home/user/.local/lib/python3.8/site-packages/coverage/__main__.py", line 8, in <module> sys.exit(main()) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 871, in main status = CoverageScript().command_line(argv) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 588, in command_line return self.do_run(options, args) File "/home/user/.local/lib/python3.8/site-packages/coverage/cmdline.py", line 743, in do_run self.coverage.start() File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 535, in start self._init_for_start() File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 474, in _init_for_start self._init_data(suffix) File "/home/user/.local/lib/python3.8/site-packages/coverage/control.py", line 512, in _init_data ensure_dir_for_file(self.config.data_file) File "/home/user/.local/lib/python3.8/site-packages/coverage/misc.py", line 165, in ensure_dir_for_file ensure_dir(os.path.dirname(path)) File "/.local/lib/python3.8/site-packages/coverage/misc.py", line 160, in ensure_dir os.makedirs(directory) File "/usr/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) | |||||
* | test: another test suggested by Mark Shannon | Ned Batchelder | 2021-08-31 | 1 | -0/+15 | |
| | ||||||
* | build: don't over-run actions | Ned Batchelder | 2021-08-31 | 2 | -0/+4 | |
| |