summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* build: keep the cog sample report workingNed Batchelder2021-04-111-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-excludeNed Batchelder2021-04-113-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 existNed Batchelder2021-04-111-1/+1
|
* debug: label each matcher with its roleNed Batchelder2021-04-114-21/+24
|
* fix: don't measure third-party packagesNed Batchelder2021-04-105-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 worldsNed Batchelder2021-04-102-2/+9
|
* refactor: move stdlib and coverage location logic into functionsNed Batchelder2021-04-101-29/+41
|
* build: tox should be quietNed Batchelder2021-04-101-3/+3
|
* build: remove obsolete Tidelift release notes supportNed Batchelder2021-04-103-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 functionNed Batchelder2021-03-223-18/+19
|
* refactor: make_file can be used as a functionNed Batchelder2021-03-222-39/+46
|
* refactor: simplify temp dir cd codeNed Batchelder2021-03-221-15/+10
|
* docs: update the help in the docsNed Batchelder2021-03-211-2/+2
|
* docs: update a pytest url to their new structureNed Batchelder2021-03-211-1/+1
|
* style: remove commented-out sphinx extension we don't needNed Batchelder2021-03-191-1/+0
|
* fix: remove debugging code I checked in by accidentNed Batchelder2021-03-191-3/+0
|
* style: correct two recent lint faux pasNed Batchelder2021-03-183-12/+15
|
* docs: clarify the --source valuesNed Batchelder2021-03-182-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 parameterNed Batchelder2021-03-141-2/+2
|
* docs: note what pep626 isNed Batchelder2021-03-141-0/+2
|
* tool: more information about the location of ast nodes when debuggingNed Batchelder2021-03-131-1/+6
|
* refactor: we no longer use unittest_mixinsNed Batchelder2021-03-111-4/+0
|
* refactor: correct a file name: test_mixins.pyNed Batchelder2021-03-111-0/+0
|
* refactor: pull module cleaning into hereNed Batchelder2021-03-115-66/+86
| | | | We don't need unittest_mixins' module cleaner anymore.
* refactor: remove unused test class settingNed Batchelder2021-03-115-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 managerNed Batchelder2021-03-114-4/+20
| | | | We don't need to use the one from unittest_mixins.
* test: simplify how StopEverything is converted to skipnedbat/remove-unittest-testcaseNed Batchelder2021-03-115-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_fileNed Batchelder2021-03-111-0/+56
| | | | These are copied from unittest_mixins, and adapted to pytest.
* refactor: move tests into classesNed Batchelder2021-03-111-54/+63
| | | | Now that we don't inherit from TestCase, pytest can parametrize methods.
* refactor: no need for our own xfail wrapperNed Batchelder2021-03-112-9/+3
|
* test: skip a test on pypyNed Batchelder2021-03-111-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 testsNed Batchelder2021-03-113-4/+4
|
* test: Use 3.10 alpha.6Ned Batchelder2021-03-113-3/+3
|
* refactor: use pytest.skip instead of unittest'sNed Batchelder2021-03-112-7/+12
|
* test: include the category of pylint messages in the outputNed Batchelder2021-03-111-1/+1
|
* test: reduce use of unittestNed Batchelder2021-03-1111-52/+166
|
* test: have pytest collect test classes uniformlyNed Batchelder2021-03-117-17/+9
|
* refactor: no need for specialized assert_starts_with methodNed Batchelder2021-03-064-18/+2
|
* refactor: replace unittest_mixins.EnvironmentAwareMixin with a pytest adapterNed Batchelder2021-03-042-2/+20
|
* build: excluding .github from ignore makes rg search itNed Batchelder2021-03-032-2/+2
|
* Removed python_requires="<4" Nicholas Nadeau, Ph.D., P.Eng2021-03-031-1/+1
| | | Python 4 doesn't exist, this requirement is redundant
* feat: percent_covered_display in the JSON reportnedbat/tweak-metacovNed Batchelder2021-03-024-6/+19
|
* test: correct two pragmasNed Batchelder2021-03-021-1/+3
|
* test: run the coverage action on branches named metacovNed Batchelder2021-03-021-0/+1
|
* build: clean up pip filesNed Batchelder2021-03-0111-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 Batchelder2021-03-013-5/+62
|\
| * build: build 3.10 wheelsNed Batchelder2021-03-013-5/+62
| |
* | refactor: remove unused code pathsNed Batchelder2021-02-281-18/+20
| |
* | build: version bumpNed Batchelder2021-02-282-1/+7
|/
* docs: use sphinxcontrib for the rst buildercoverage-5.55.5Ned Batchelder2021-02-282-5/+3
|