Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactor: simplify a one-iteration loop | Ned Batchelder | 2021-02-25 | 1 | -4/+3 | |
| | ||||||
* | test: oops, accidentally always skipped this test | Ned Batchelder | 2021-02-24 | 1 | -1/+1 | |
| | ||||||
* | test: add tests of the failure asserts from check_coverage | Ned Batchelder | 2021-02-22 | 2 | -3/+54 | |
| | | | | This brings the coverage of tests/coveragetest.py to 100%. | |||||
* | refactor: slightly better coverage in coveragetest | Ned Batchelder | 2021-02-21 | 2 | -4/+4 | |
| | ||||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 14 | -107/+53 | |
| | ||||||
* | refactor: a better way to skip these tests | Ned Batchelder | 2021-02-07 | 1 | -5/+1 | |
| | ||||||
* | refactor: make all coverage.env uses uniform | Ned Batchelder | 2021-02-07 | 1 | -2/+2 | |
| | ||||||
* | test: metacov is always xdist | Ned Batchelder | 2021-02-07 | 1 | -1/+1 | |
| | ||||||
* | test: these tests can run during metacov | Ned Batchelder | 2021-02-07 | 1 | -1/+0 | |
| | | | | I forget why I thought they couldn't run during meta-coverage. | |||||
* | test: more-uniform skipping of test during metacov | Ned Batchelder | 2021-02-07 | 2 | -25/+15 | |
| | ||||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 10 | -37/+56 | |
| | | | | Another step toward removing unittest.TestCase. | |||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 6 | -26/+62 | |
| | | | | This is another step toward removing unittest.TestCase as a base class. | |||||
* | refactor: move test mixins to their own file | Ned Batchelder | 2021-02-02 | 4 | -32/+46 | |
| | ||||||
* | test: keep multi-assert arc diffs working | Ned Batchelder | 2021-01-31 | 2 | -27/+23 | |
| | | | | | We don't have a way to do multi-assert in the pytest we're running, so cobble it together ourselves. | |||||
* | test: configure pytest assertion rewriting in coveragetest.py | Ned Batchelder | 2021-01-31 | 1 | -0/+4 | |
| | ||||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 20 | -167/+179 | |
| | ||||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 14 | -14/+21 | |
| | ||||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 7 | -16/+16 | |
| | | | | | | I guess the original line was wrong, but it would have been nice for unittest2pytest to fix it for me: https://github.com/pytest-dev/unittest2pytest/issues/52 | |||||
* | refactor: mark an internal method | Ned Batchelder | 2021-01-31 | 1 | -4/+4 | |
| | ||||||
* | test: adapt to pytest assertion messages | Ned Batchelder | 2021-01-31 | 2 | -10/+10 | |
| | | | | | | | | Bare "assert" statements don't produce the same assertion message as self.assertEqual did: they don't include the two values compared. For some of our own asserts, add back the detailed message. For some checks of asserts, it's fine that the values are missing because the longer messsage includes the information. | |||||
* | test: fix unittest2pytest brokenness | Ned Batchelder | 2021-01-31 | 2 | -17/+21 | |
| | | | | | | | unittest2pytest created syntax errors, reported here: https://github.com/pytest-dev/unittest2pytest/issues/51 This commit fixes them back. | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 31 | -1294/+1165 | |
| | | | | One step of moving to pure pytest tests. | |||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 3 | -6/+28 | |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | |||||
* | Simplify the testing of the toml extra, fixing #1084 | Ned Batchelder | 2021-01-18 | 3 | -14/+34 | |
| | ||||||
* | fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577) | Valentin Lab | 2021-01-17 | 1 | -0/+14 | |
| | | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org> | |||||
* | skip_covered and skip_empty for HTML. #1090 | Ned Batchelder | 2021-01-10 | 1 | -19/+33 | |
| | ||||||
* | Use the modern way to load modules by file name. | Ned Batchelder | 2021-01-10 | 1 | -4/+15 | |
| | | | | | | | Python 3.10 finally got super-noisy about load_module, which has been deprecated since 3.4! https://docs.python.org/3/library/importlib.html#importlib.abc.Loader.load_module | |||||
* | Fix a test to be usable with PEP626 | Ned Batchelder | 2021-01-10 | 1 | -33/+35 | |
| | | | | | | | In the old code, the return and raise were unreachable, so Python 3.10 compiled them away. This meant the return and raise messages weren't in the missing arc fragments. The new code has a path to the return and raise. | |||||
* | Need new gold files for pep626 partial branch HTML report | Ned Batchelder | 2021-01-10 | 3 | -16/+210 | |
| | ||||||
* | Update the support files for HTML gold files | Ned Batchelder | 2021-01-10 | 2 | -54/+226 | |
| | ||||||
* | A better test for 'if not __debug__' | Ned Batchelder | 2021-01-10 | 2 | -13/+14 | |
| | ||||||
* | PEP 626: Docstring-only functions changed again | Ned Batchelder | 2021-01-10 | 1 | -1/+2 | |
| | ||||||
* | PEP 626: constant tests are kept as no-ops | Ned Batchelder | 2021-01-10 | 3 | -33/+129 | |
| | | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future? | |||||
* | Clean up the platform constants in env.py | Ned Batchelder | 2021-01-10 | 1 | -1/+1 | |
| | ||||||
* | In 3.10, modules always have firstlineno==1 | Ned Batchelder | 2021-01-10 | 2 | -1/+8 | |
| | ||||||
* | Python 3.10 doesn't compile statments after unconditional jumps. | Ned Batchelder | 2021-01-10 | 2 | -89/+116 | |
| | | | | This includes break/continue/return/raise. | |||||
* | 2506 is fixed? | Ned Batchelder | 2021-01-10 | 1 | -4/+7 | |
| | ||||||
* | Tests of statements after raise and return | Ned Batchelder | 2021-01-10 | 1 | -0/+22 | |
| | ||||||
* | Always output TOTAL line. | Judson Neer | 2021-01-06 | 5 | -33/+70 | |
| | ||||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 6 | -17/+17 | |
| | ||||||
* | This test doesn't work on Mac either. | Ned Batchelder | 2021-01-02 | 1 | -1/+1 | |
| | ||||||
* | Updated gold html files | Ned Batchelder | 2020-12-05 | 38 | -79/+117 | |
| | ||||||
* | This test is picky about platforms | Ned Batchelder | 2020-11-28 | 1 | -1/+1 | |
| | ||||||
* | Fix tests for GitHub windows platform | Ned Batchelder | 2020-11-28 | 4 | -9/+11 | |
| | | | | | | | | | | | | | | 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.7 | Ned Batchelder | 2020-10-10 | 2 | -2/+2 | |
| | ||||||
* | Python 3.10 | Ned Batchelder | 2020-10-10 | 1 | -1/+5 | |
| | ||||||
* | If a plugin is disabled, don't try to record its file tracers. #1011 | Ned Batchelder | 2020-09-13 | 1 | -0/+32 | |
| | ||||||
* | Fix a missed exception handling for bad plugins | Ned Batchelder | 2020-09-13 | 1 | -0/+22 | |
| | ||||||
* | ambigious -> ambiguous | Ned Batchelder | 2020-09-12 | 5 | -10/+10 | |
| | ||||||
* | Docs and cleanup for source_pkgs | Ned Batchelder | 2020-09-12 | 4 | -7/+6 | |
| |