summaryrefslogtreecommitdiff
path: root/tests/test_process.py
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor: remove a few more version checksNed Batchelder2021-05-021-4/+1
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-41/+40
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-16/+1
|
* fix: don't warn that dynamic plugins already imported their source files. #1150Ned Batchelder2021-05-011-1/+27
|
* fix: restore metacov functioningNed Batchelder2021-04-111-1/+1
| | | | | | | The check for coverage files inside the --source check disables our metacoverage. Removing it means that coverage files will still not be measured, but the reason will be given as "is third-party" rather than "is part of coverage.py," which is a small price to pay.
* fix: don't measure third-party scriptsnedbat/bin-excludeNed Batchelder2021-04-111-44/+111
| | | | | | This finishes the last bit of #905 Also includes tighter logging of the reason for not tracing modules.
* fix: don't measure third-party packagesNed Batchelder2021-04-101-1/+99
| | | | | | | | | | | | 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
* 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-111-1/+1
|
* test: reduce use of unittestNed Batchelder2021-03-111-8/+7
|
* refactor: no need for specialized assert_starts_with methodNed Batchelder2021-03-061-1/+1
|
* build: update to latest pylintNed Batchelder2021-02-261-1/+1
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-37/+19
|
* test: these tests can run during metacovNed Batchelder2021-02-071-1/+0
| | | | I forget why I thought they couldn't run during meta-coverage.
* test: more-uniform skipping of test during metacovNed Batchelder2021-02-071-22/+13
|
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-11/+17
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-170/+162
| | | | One step of moving to pure pytest tests.
* Add combine --keep (#1110)Éric Larivière2021-01-301-0/+22
| | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long
* Clean up the platform constants in env.pyNed Batchelder2021-01-101-1/+1
|
* Always output TOTAL line.Judson Neer2021-01-061-3/+9
|
* This test doesn't work on Mac either.Ned Batchelder2021-01-021-1/+1
|
* This test is picky about platformsNed Batchelder2020-11-281-1/+1
|
* Fix tests for GitHub windows platformNed Batchelder2020-11-281-3/+3
| | | | | | | | | | | | | | The tests were failing because of differences in file paths. It was comparing: C:\Users\runneradmin\AppData\... to: C:\Users\RUNNER~1\AppData\... and failing. These changes normalize the file paths so the comparisons work properly.
* PyPy 3.7 doesn't act exactly like CPython 3.7Ned Batchelder2020-10-101-1/+1
|
* More bitbucket->github urlsNed Batchelder2020-08-181-10/+10
|
* Provide more information in the fail-under messageNed Batchelder2020-06-281-2/+8
|
* message for fail-undernavyad2020-04-191-2/+2
|
* sysconfig has been available since 2.7Ned Batchelder2020-02-291-2/+2
|
* Better xfail mechanismNed Batchelder2020-01-181-3/+5
|
* A test of running coverage when it has been zipped. #862Ned Batchelder2020-01-111-1/+12
|
* A test that reproduces #862Ned Batchelder2020-01-101-0/+18
|
* A test for #909Ned Batchelder2020-01-031-0/+28
|
* Changing PYVERSION to six elements broke one equality comparisonNed Batchelder2019-12-311-1/+1
|
* Adjust other env.PYPY tests to the latest wayNed Batchelder2019-12-311-3/+2
|
* Don't need to check for JSON-era bad-data messages any moreNed Batchelder2019-12-221-10/+0
|
* I'm not sure why I was deleting these meta env varsNed Batchelder2019-12-011-0/+3
| | | | Don't we want to measure the coverage of subprocesses we start in tests?
* Run windows tests in parallelNed Batchelder2019-11-261-1/+16
| | | | | ... and fix the cleanup that prevented it previously by retrying until the cleanup succeeds.
* Adapt to 3.9's way of reporting files using absolute paths.Ned Batchelder2019-11-251-6/+13
|
* Implement __spec__ for files we run. #745 #838Ned Batchelder2019-11-241-7/+26
|
* '[run] note' is no longer supported.Ned Batchelder2019-11-091-22/+1
|
* Upgrade pylintNed Batchelder2019-10-181-1/+1
|
* Avoid a test that recent pypy3 can't run properlyNed Batchelder2019-09-151-0/+3
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-3/+3
|
* Can't run the delete-my-directory tests on WindowsNed Batchelder2019-07-061-0/+5
|
* Add tests of bug #806, and ensure it's fixed even if the program ends with ↵Ned Batchelder2019-07-061-0/+30
| | | | an exception
* Use pylint 2.xNed Batchelder2019-05-131-1/+1
|
* Check for skipping tests before super.setUpNed Batchelder2019-04-211-2/+2
|
* Rewrite XML tests to use xml parsing instead of regexesNed Batchelder2019-03-231-6/+13
|
* Asserts should be expected,actualNed Batchelder2018-12-241-2/+2
|
* Remove incorrect commentNed Batchelder2018-11-251-1/+0
|