Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: convert all skipping to pytest skipsnedbat/better-combine-action | Ned Batchelder | 2021-02-06 | 14 | -107/+53 |
| | |||||
* | refactor: a better way to skip these tests | Ned Batchelder | 2021-02-06 | 1 | -5/+1 |
| | |||||
* | refactor: we weren't using this __eq__ | Ned Batchelder | 2021-02-06 | 1 | -3/+0 |
| | |||||
* | refactor: make all coverage.env uses uniform | Ned Batchelder | 2021-02-06 | 1 | -2/+2 |
| | |||||
* | test: metacov is always xdist | Ned Batchelder | 2021-02-06 | 1 | -1/+1 |
| | |||||
* | test: quiet a misleading coverage miss | Ned Batchelder | 2021-02-06 | 1 | -1/+3 |
| | | | | | We need this on Python 2, but in testing environments, a backport is installed, so this import isn't used. | ||||
* | test: these tests can run during metacov | Ned Batchelder | 2021-02-06 | 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-06 | 3 | -25/+16 |
| | |||||
* | build: improved combined coverage action | Ned Batchelder | 2021-02-06 | 2 | -7/+30 |
| | | | | | | - codecov wants more history. - make a downloadable HTML report. | ||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 11 | -62/+56 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | Merge pull request #1113 from nedbat/nedbat/capsys | Ned Batchelder | 2021-02-02 | 8 | -66/+108 |
|\ | | | | | More unittest removal | ||||
| * | 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 |
| | | |||||
| * | refactor: remove unused methods | Ned Batchelder | 2021-02-02 | 1 | -9/+1 |
|/ | |||||
* | doc: avoid latin abbreviations | Ned Batchelder | 2021-02-01 | 2 | -1/+2 |
| | |||||
* | update config file doc to mention descending sort | Arthur Deygin | 2021-02-01 | 1 | -0/+1 |
| | |||||
* | Merge pull request #1111 from nedbat/nedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 34 | -1344/+1239 |
|\ | | | | | Use unittest2pytest to convert assertions | ||||
| * | 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 |
| | | |||||
| * | build: quiet a silly pylint warning | Ned Batchelder | 2021-01-31 | 1 | -0/+1 |
| | | | | | | | | | | It's good in tests to use `assert "expected" == actual()`, so why is pylint all up in my grill about it? | ||||
| * | 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 | 8 | -17/+17 |
| | | | | | | | | | | | | 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. | ||||
* | build: clearly label auto-generated files | Ned Batchelder | 2021-01-30 | 10 | -0/+20 |
| | |||||
* | build: next version will be 5.5 | Ned Batchelder | 2021-01-30 | 1 | -1/+1 |
| | | | | Since we've added a feature (combine --keep). | ||||
* | style: nicer long function call | Ned Batchelder | 2021-01-30 | 1 | -2/+7 |
| | |||||
* | doc: touch-ups for `combine --keep` | Ned Batchelder | 2021-01-30 | 7 | -8/+19 |
| | |||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 8 | -14/+51 |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | ||||
* | chore: update pylint (etc) versions | Ned Batchelder | 2021-01-27 | 2 | -5/+7 |
| | | | | Also: suppress some Python 3-only suggestions until later. | ||||
* | refactor: Move post-processing into CoverageConfig | Ned Batchelder | 2021-01-27 | 1 | -7/+15 |
| | |||||
* | Update the doc requirements | Ned Batchelder | 2021-01-26 | 1 | -4/+7 |
| | |||||
* | fix typos in changelog | Valentin Lab | 2021-01-26 | 2 | -3/+3 |
| | | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org> | ||||
* | Add versionadded info for the new 5.4 configuration options | Ned Batchelder | 2021-01-26 | 1 | -0/+4 |
| | |||||
* | Version bump | Ned Batchelder | 2021-01-26 | 2 | -1/+7 |
| | |||||
* | Combine kit download with kit check | Ned Batchelder | 2021-01-26 | 2 | -5/+6 |
| | |||||
* | Remove unneeded slashcoverage-5.4 | Ned Batchelder | 2021-01-26 | 1 | -1/+1 |
| | |||||
* | Prep for 5.4 | Ned Batchelder | 2021-01-24 | 7 | -15/+17 |
| | |||||
* | Latest sample HTML | Ned Batchelder | 2021-01-24 | 11 | -21/+21 |
| | |||||
* | Simplify the testing of the toml extra, fixing #1084 | Ned Batchelder | 2021-01-18 | 6 | -92/+44 |
| | |||||
* | Add changelog for #1080 #577 | Ned Batchelder | 2021-01-17 | 2 | -1/+6 |
| | |||||
* | fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577) | Valentin Lab | 2021-01-17 | 2 | -2/+18 |
| | | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org> | ||||
* | skip_covered and skip_empty for HTML. #1090 | Ned Batchelder | 2021-01-10 | 6 | -39/+74 |
| | |||||
* | I don't understand the codecov comments, so turn them off | Ned Batchelder | 2021-01-10 | 1 | -3/+1 |
| | |||||
* | Mention PEP 626 in the changelog | Ned Batchelder | 2021-01-10 | 1 | -0/+5 |
| | |||||
* | Better control over setup.py warnings | Ned Batchelder | 2021-01-10 | 1 | -1/+14 |
| | |||||
* | Use the modern way to load modules by file name. | Ned Batchelder | 2021-01-10 | 3 | -10/+25 |
| | | | | | | | 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 |