Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build: keep the cog sample report working | Ned Batchelder | 2021-04-11 | 1 | -1/+1 | |
| | | | | | We use PYTEST_ADDOPTS=-n8 locally, and for some reason that keeps the cog line from measuring any data. This keeps it working | |||||
* | fix: don't measure third-party scriptsnedbat/bin-exclude | Ned Batchelder | 2021-04-11 | 3 | -59/+134 | |
| | | | | | | This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules. | |||||
* | test: don't complain if an environment variable we don't want doesn't exist | Ned Batchelder | 2021-04-11 | 1 | -1/+1 | |
| | ||||||
* | debug: label each matcher with its role | Ned Batchelder | 2021-04-11 | 4 | -21/+24 | |
| | ||||||
* | fix: don't measure third-party packages | Ned Batchelder | 2021-04-10 | 5 | -13/+210 | |
| | | | | | | | | | | | | Avoid measuring code located where third-party packages get installed. We have to take care to measure --source code even if it is installed in a third-party location. This also fixes #905, coverage generating warnings about coverage being imported when it will be measured. https://github.com/nedbat/coveragepy/issues/876 https://github.com/nedbat/coveragepy/issues/905 | |||||
* | fix: make TreeMatcher right for case-sensitive worlds | Ned Batchelder | 2021-04-10 | 2 | -2/+9 | |
| | ||||||
* | refactor: move stdlib and coverage location logic into functions | Ned Batchelder | 2021-04-10 | 1 | -29/+41 | |
| | ||||||
* | build: tox should be quiet | Ned Batchelder | 2021-04-10 | 1 | -3/+3 | |
| | ||||||
* | build: remove obsolete Tidelift release notes support | Ned Batchelder | 2021-04-10 | 3 | -55/+0 | |
| | | | | | Tidelift removed their release notes API on 2021-03-09: https://forum.tidelift.com/t/release-notes-task/467 | |||||
* | refactor: nice_file can be used as a function | Ned Batchelder | 2021-03-22 | 3 | -18/+19 | |
| | ||||||
* | refactor: make_file can be used as a function | Ned Batchelder | 2021-03-22 | 2 | -39/+46 | |
| | ||||||
* | refactor: simplify temp dir cd code | Ned Batchelder | 2021-03-22 | 1 | -15/+10 | |
| | ||||||
* | docs: update the help in the docs | Ned Batchelder | 2021-03-21 | 1 | -2/+2 | |
| | ||||||
* | docs: update a pytest url to their new structure | Ned Batchelder | 2021-03-21 | 1 | -1/+1 | |
| | ||||||
* | style: remove commented-out sphinx extension we don't need | Ned Batchelder | 2021-03-19 | 1 | -1/+0 | |
| | ||||||
* | fix: remove debugging code I checked in by accident | Ned Batchelder | 2021-03-19 | 1 | -3/+0 | |
| | ||||||
* | style: correct two recent lint faux pas | Ned Batchelder | 2021-03-18 | 3 | -12/+15 | |
| | ||||||
* | docs: clarify the --source values | Ned Batchelder | 2021-03-18 | 2 | -3/+5 | |
| | | | | | | On the Test & Code podcast (https://testandcode.com/148) Brian Okken explained why the old wording was confusing. I hope this makes it clearer. | |||||
* | refactor: remove unused encoding parameter | Ned Batchelder | 2021-03-14 | 1 | -2/+2 | |
| | ||||||
* | docs: note what pep626 is | Ned Batchelder | 2021-03-14 | 1 | -0/+2 | |
| | ||||||
* | tool: more information about the location of ast nodes when debugging | Ned Batchelder | 2021-03-13 | 1 | -1/+6 | |
| | ||||||
* | refactor: we no longer use unittest_mixins | Ned Batchelder | 2021-03-11 | 1 | -4/+0 | |
| | ||||||
* | refactor: correct a file name: test_mixins.py | Ned Batchelder | 2021-03-11 | 1 | -0/+0 | |
| | ||||||
* | refactor: pull module cleaning into here | Ned Batchelder | 2021-03-11 | 5 | -66/+86 | |
| | | | | We don't need unittest_mixins' module cleaner anymore. | |||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 5 | -18/+0 | |
| | | | | | | | | | unittest_mixins would check that files got created if a test made a temporary directory, so that we could trim down making temp dirs needlessly. But we don't use unittest_mixins any more, so this setting does nothing. Remove it. | |||||
* | refactor: our own change_dir context manager | Ned Batchelder | 2021-03-11 | 4 | -4/+20 | |
| | | | | We don't need to use the one from unittest_mixins. | |||||
* | test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcase | Ned Batchelder | 2021-03-11 | 5 | -64/+12 | |
| | | | | | | The auto-decorating metaclass was interfering with parameterized methods on Python 2.7. But we don't need it anymore anyway, since pytest will let us hook to deal with the exception in a simpler way. | |||||
* | test: add tests of make_file | Ned Batchelder | 2021-03-11 | 1 | -0/+56 | |
| | | | | These are copied from unittest_mixins, and adapted to pytest. | |||||
* | refactor: move tests into classes | Ned Batchelder | 2021-03-11 | 1 | -54/+63 | |
| | | | | Now that we don't inherit from TestCase, pytest can parametrize methods. | |||||
* | refactor: no need for our own xfail wrapper | Ned Batchelder | 2021-03-11 | 2 | -9/+3 | |
| | ||||||
* | test: skip a test on pypy | Ned Batchelder | 2021-03-11 | 1 | -5/+4 | |
| | | | | | | I thought I knew when this passed and when it failed. Now that our tests are not TestCase's, pytest is enforcing the xfails. This passes locally on Mac, but fails in CI on Mac. So skip it. | |||||
* | test: show more information for not-passed tests | Ned Batchelder | 2021-03-11 | 3 | -4/+4 | |
| | ||||||
* | test: Use 3.10 alpha.6 | Ned Batchelder | 2021-03-11 | 3 | -3/+3 | |
| | ||||||
* | refactor: use pytest.skip instead of unittest's | Ned Batchelder | 2021-03-11 | 2 | -7/+12 | |
| | ||||||
* | test: include the category of pylint messages in the output | Ned Batchelder | 2021-03-11 | 1 | -1/+1 | |
| | ||||||
* | test: reduce use of unittest | Ned Batchelder | 2021-03-11 | 11 | -52/+166 | |
| | ||||||
* | test: have pytest collect test classes uniformly | Ned Batchelder | 2021-03-11 | 7 | -17/+9 | |
| | ||||||
* | refactor: no need for specialized assert_starts_with method | Ned Batchelder | 2021-03-06 | 4 | -18/+2 | |
| | ||||||
* | refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapter | Ned Batchelder | 2021-03-04 | 2 | -2/+20 | |
| | ||||||
* | build: excluding .github from ignore makes rg search it | Ned Batchelder | 2021-03-03 | 2 | -2/+2 | |
| | ||||||
* | Removed python_requires="<4" | Nicholas Nadeau, Ph.D., P.Eng | 2021-03-03 | 1 | -1/+1 | |
| | | | Python 4 doesn't exist, this requirement is redundant | |||||
* | feat: percent_covered_display in the JSON reportnedbat/tweak-metacov | Ned Batchelder | 2021-03-02 | 4 | -6/+19 | |
| | ||||||
* | test: correct two pragmas | Ned Batchelder | 2021-03-02 | 1 | -1/+3 | |
| | ||||||
* | test: run the coverage action on branches named metacov | Ned Batchelder | 2021-03-02 | 1 | -0/+1 | |
| | ||||||
* | build: clean up pip files | Ned Batchelder | 2021-03-01 | 11 | -13/+14 | |
| | | | | | auditwheel only installs on Python 3. So only install it where we need it, and clean up other .pip files along the way. | |||||
* | Merge branch 'nedbat/310-kits' | Ned Batchelder | 2021-03-01 | 3 | -5/+62 | |
|\ | ||||||
| * | build: build 3.10 wheels | Ned Batchelder | 2021-03-01 | 3 | -5/+62 | |
| | | ||||||
* | | refactor: remove unused code paths | Ned Batchelder | 2021-02-28 | 1 | -18/+20 | |
| | | ||||||
* | | build: version bump | Ned Batchelder | 2021-02-28 | 2 | -1/+7 | |
|/ | ||||||
* | docs: use sphinxcontrib for the rst buildercoverage-5.55.5 | Ned Batchelder | 2021-02-28 | 2 | -5/+3 | |
| |