Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactor: adjust some of the --data-file option handling | Ned Batchelder | 2022-01-25 | 4 | -43/+78 | |
| | ||||||
* | feat: use --data-file to configure the coverage database | Nikita Bloshchanevich | 2022-01-25 | 3 | -9/+54 | |
| | ||||||
* | build: stop deleting 3.9 muslinux wheels, because they are ok now. #1268 | Ned Batchelder | 2022-01-25 | 1 | -7/+0 | |
| | ||||||
* | test: the sigterm tests have some race conditions, let them re-run if needed | Ned Batchelder | 2022-01-23 | 1 | -0/+1 | |
| | ||||||
* | fix: save data on SIGTERM #1307 | Ned Batchelder | 2022-01-23 | 6 | -17/+119 | |
| | | | | This covers multiprocessing.Process.terminate(), and maybe other cases also. | |||||
* | style: cleanups after lcov, though more than just lcov | Ned Batchelder | 2022-01-22 | 4 | -202/+172 | |
| | ||||||
* | fix: small fixes to lcov, and changes.rst mention. | Ned Batchelder | 2022-01-22 | 6 | -11/+16 | |
| | ||||||
* | feat: add "lcov" command for generating LCOV reports | Bradley Burns | 2022-01-22 | 12 | -22/+624 | |
| | | | | | | | * Add LCOV functionality into coverage.py * Add testing for the LCOV reporter * Add documentation for the LCOV reporter | |||||
* | test: bpo46389 improvements on tip of cpython | Ned Batchelder | 2022-01-22 | 1 | -2/+2 | |
| | ||||||
* | test: bpo46028 was fixed in 3.11 this week | Ned Batchelder | 2022-01-22 | 1 | -1/+1 | |
| | ||||||
* | build: correct the cron time of the Python nightly tests | Ned Batchelder | 2022-01-22 | 1 | -2/+3 | |
| | ||||||
* | test: add one sql test to cover an unlikely case in the code | Ned Batchelder | 2022-01-21 | 1 | -5/+13 | |
| | ||||||
* | refactor(docs): don't use extlink | Ned Batchelder | 2022-01-20 | 2 | -20/+24 | |
| | | | | | | extlinks are handy shortcuts, but GitHub won't render them, and now Sphinx warns if you make an explicit link that could have been an extlink. So just keep it low-tech, and don't use extlinks at all. | |||||
* | build: include lab/* in the sdist | Ned Batchelder | 2022-01-20 | 2 | -2/+2 | |
| | ||||||
* | fix: create the db as needed when accessed | Ned Batchelder | 2022-01-20 | 3 | -45/+33 | |
| | ||||||
* | docs: notes about bug 1303 | Ned Batchelder | 2022-01-20 | 1 | -0/+92 | |
| | ||||||
* | build: make upgrade | Ned Batchelder | 2022-01-20 | 8 | -35/+37 | |
| | ||||||
* | test: i can't figure out what versions of 3.9 this passes or fails | Ned Batchelder | 2022-01-19 | 1 | -1/+1 | |
| | ||||||
* | refactor(test): use xfail for tests that fail on specific versions of Python | Ned Batchelder | 2022-01-19 | 6 | -25/+19 | |
| | ||||||
* | refactor: make this more apparent | Ned Batchelder | 2022-01-17 | 1 | -1/+2 | |
| | ||||||
* | build(deps): bump styfle/cancel-workflow-action from 0.6.0 to 0.9.1 | dependabot[bot] | 2022-01-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.6.0 to 0.9.1. - [Release notes](https://github.com/styfle/cancel-workflow-action/releases) - [Commits](https://github.com/styfle/cancel-workflow-action/compare/0.6.0...0.9.1) --- updated-dependencies: - dependency-name: styfle/cancel-workflow-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> | |||||
* | build: use dependabot to keep actions current | Ned Batchelder | 2022-01-17 | 1 | -0/+11 | |
| | ||||||
* | build: a cron action to test Python nightly once a week | Ned Batchelder | 2022-01-17 | 1 | -0/+56 | |
| | ||||||
* | docs: add an issue reference for the 3.11.0a4 support | Ned Batchelder | 2022-01-16 | 1 | -1/+2 | |
| | ||||||
* | build: provide hints about how to fix cog-check quality failures. | Ned Batchelder | 2022-01-15 | 4 | -0/+13 | |
| | ||||||
* | test: minor cleanup from start_method fixture work | Ned Batchelder | 2022-01-15 | 1 | -2/+1 | |
| | | | | | | We only had to use remove_files because try_multiprocessing_code used to be called twice in one test. Now that it's only called once, we don't have to clean out stale data files. | |||||
* | test: slightly nicer bpo prelude | Ned Batchelder | 2022-01-15 | 1 | -1/+2 | |
| | ||||||
* | fix: proper tracing of call/return for Python 3.11.0a4 | Ned Batchelder | 2022-01-15 | 4 | -19/+59 | |
| | | | | | Version 3.11.0a4 introduced RESUME, so returns and calls are different now. This change also fixes some mishandling of yield-from in previous releases. | |||||
* | build: better docs about Python versions in actions | Ned Batchelder | 2022-01-15 | 3 | -1/+14 | |
| | ||||||
* | fix: update pytracer.py for Python 3.11 | Ned Batchelder | 2022-01-15 | 1 | -5/+25 | |
| | ||||||
* | debug: reprs make debugging easier | Ned Batchelder | 2022-01-15 | 1 | -1/+3 | |
| | ||||||
* | test: skip tests suffering from bpo 46389 (3.11) | Ned Batchelder | 2022-01-15 | 2 | -3/+13 | |
| | ||||||
* | test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028) | Ned Batchelder | 2022-01-15 | 1 | -1/+1 | |
| | ||||||
* | test: skip test that fails due to bpo 46331 | Ned Batchelder | 2022-01-15 | 1 | -0/+5 | |
| | ||||||
* | refactor(test): make finally_jumps_back tweaks easier to see | Ned Batchelder | 2022-01-15 | 1 | -39/+22 | |
| | ||||||
* | test: a debug helper to show made-file contents | Ned Batchelder | 2022-01-15 | 1 | -0/+7 | |
| | ||||||
* | fix: 3.11 now traces decorator lines as the decorators execute | Ned Batchelder | 2022-01-15 | 4 | -10/+38 | |
| | | | | See: https://bugs.python.org/issue46234 | |||||
* | debug: a tool for extracting test code snippets | Ned Batchelder | 2022-01-15 | 1 | -0/+73 | |
| | ||||||
* | docs: small tweaks to the bug report template | Ned Batchelder | 2022-01-12 | 1 | -2/+2 | |
| | ||||||
* | fix: don't write a .gitignore unless the directory is empty | Ned Batchelder | 2022-01-11 | 3 | -3/+17 | |
| | ||||||
* | refactor(test): use a fixture to choose spawn/fork multiprocessing start_method | Ned Batchelder | 2022-01-10 | 1 | -39/+65 | |
| | ||||||
* | style(test): full env.PYVERSION can be used for <= comparisons | Ned Batchelder | 2022-01-10 | 1 | -2/+2 | |
| | ||||||
* | style(test): use a consistent name format for test_bug_XXX tests | Ned Batchelder | 2022-01-10 | 3 | -5/+5 | |
| | ||||||
* | refactor(test): make behavior tweaks easier to see | Ned Batchelder | 2022-01-10 | 1 | -30/+23 | |
| | ||||||
* | refactor(test): use math.isclose to check float values | Ned Batchelder | 2022-01-07 | 4 | -10/+15 | |
| | ||||||
* | style: minor cleanups realized while reviewing a pull request | Ned Batchelder | 2022-01-05 | 2 | -10/+10 | |
| | ||||||
* | build: one more tweak-down of the help target | Ned Batchelder | 2022-01-05 | 1 | -1/+1 | |
| | ||||||
* | build: adjust the warning suppressions we need | Ned Batchelder | 2022-01-04 | 2 | -20/+1 | |
| | ||||||
* | refactor: no need to special-case spec.origin == "namespace" | Ned Batchelder | 2022-01-03 | 1 | -2/+1 | |
| | | | | | Namespace packages used to have this value, but that was changed in 3.7: https://bugs.python.org/issue32305 | |||||
* | refactor: we no longer need to protect against UnicodeError, it was only on 3.6 | Ned Batchelder | 2022-01-03 | 1 | -7/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was the failure it was protecting against on Python 3.6: ``` ___________________________ ProcessTest.test_lang_c ____________________________ [gw0] linux -- Python 3.6.15 /home/runner/work/coveragepy/coveragepy/.tox/py36/bin/python self = <tests.test_process.ProcessTest object at 0x7fe57e63b198> @pytest.mark.skipif(env.PYPY, reason="PyPy is unreliable with this test") # Jython as of 2.7.1rc3 won't compile a filename that isn't utf-8. @pytest.mark.skipif(env.JYTHON, reason="Jython can't handle this test") def test_lang_c(self): # LANG=C forces getfilesystemencoding on Linux to 'ascii', which causes # failures with non-ascii file names. We don't want to make a real file # with strange characters, though, because that gets the test runners # tangled up. This will isolate the concerns to the coverage.py code. # https://github.com/nedbat/coveragepy/issues/533 self.make_file("weird_file.py", r""" globs = {} code = "a = 1\nb = 2\n" exec(compile(code, "wut\xe9\xea\xeb\xec\x01\x02.py", 'exec'), globs) print(globs['a']) print(globs['b']) """) self.set_environ("LANG", "C") out = self.run_command("coverage run weird_file.py") > assert out == "1\n2\n" E assert 'Traceback (m...ion by zero\n' == '1\n2\n' E - 1 E - 2 E + Traceback (most recent call last): E + File "/home/runner/work/coveragepy/coveragepy/coverage/files.py", line 149, in abs_file E + path = os.path.realpath(path) E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 395, in realpath E + path, ok = _joinrealpath(filename[:0], filename, {}) E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 429, in _joinrealpath E + if not islink(newpath): E + File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/posixpath.py", line 171, in islink E + st = os.lstat(path) E + UnicodeEncodeError: 'ascii' codec can't encode characters in position 3-6: ordinal not in range(128) ``` |