Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+2 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -2/+2 |
| | |||||
* | refactor: move the remaining backward.py code, no more backward.py | Ned Batchelder | 2021-05-01 | 1 | -2/+1 |
| | |||||
* | refactor: remove some unneeded behavior conditionals | Ned Batchelder | 2021-05-01 | 1 | -3/+0 |
| | |||||
* | refactor: remove yet more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -2/+2 |
| | | | | | | | | Gone are: - PYC_MAGIC_NUMBER - code_object - SimpleNamespace | ||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | refactor: nice_file can be used as a function | Ned Batchelder | 2021-03-22 | 1 | -5/+5 |
| | |||||
* | refactor: remove unused test class setting | Ned Batchelder | 2021-03-11 | 1 | -4/+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 | 1 | -2/+1 |
| | | | | 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 | 1 | -2/+2 |
| | | | | | | 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: reduce use of unittest | Ned Batchelder | 2021-03-11 | 1 | -4/+4 |
| | |||||
* | test: oops, accidentally always skipped this test | Ned Batchelder | 2021-02-24 | 1 | -1/+1 |
| | |||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -5/+3 |
| | |||||
* | refactor: remove unittest.assertCountEqual | Ned Batchelder | 2021-02-06 | 1 | -1/+2 |
| | | | | Another step toward removing unittest.TestCase. | ||||
* | refactor: remove reliance on unittest_mixins.StdStreamCapturingMixin | Ned Batchelder | 2021-02-02 | 1 | -6/+2 |
| | | | | 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 | 1 | -2/+2 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -8/+6 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | style: singleton comparisons should use is | Ned Batchelder | 2021-01-31 | 1 | -3/+3 |
| | | | | | | 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: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -105/+96 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Add combine --keep (#1110) | Éric Larivière | 2021-01-30 | 1 | -1/+1 |
| | | | | | | | | | | | * Add combine --keep Related to https://github.com/nedbat/coveragepy/issues/1108 * Fix unit tests * Fix line too long * Fix line too long | ||||
* | Always output TOTAL line. | Judson Neer | 2021-01-06 | 1 | -2/+10 |
| | |||||
* | Fix tests for GitHub windows platform | Ned Batchelder | 2020-11-28 | 1 | -4/+4 |
| | | | | | | | | | | | | | | 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. | ||||
* | ambigious -> ambiguous | Ned Batchelder | 2020-09-12 | 1 | -9/+9 |
| | |||||
* | Docs and cleanup for source_pkgs | Ned Batchelder | 2020-09-12 | 1 | -7/+2 |
| | |||||
* | Create Way to force package even if filepath exists (#1026) | Thomas Grainger | 2020-09-12 | 1 | -0/+22 |
| | | | Fixes: #268 | ||||
* | replace confusing comment with assertion (#1028) | Thomas Grainger | 2020-09-12 | 1 | -3/+12 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -3/+3 |
| | |||||
* | A test replicating #916 | Ned Batchelder | 2020-01-07 | 1 | -2/+11 |
| | |||||
* | Ensure file touching happens if nothing was measured. #884 | Ned Batchelder | 2020-01-04 | 1 | -0/+15 |
| | |||||
* | Fix --debug=sys. #907 | Ned Batchelder | 2019-12-28 | 1 | -0/+8 |
| | |||||
* | Warn if two things change the dynamic context. #901 | Ned Batchelder | 2019-12-27 | 1 | -0/+13 |
| | |||||
* | Warnings can be marked to only display once. | Ned Batchelder | 2019-12-27 | 1 | -3/+13 |
| | |||||
* | A way to artificially crash coverage, for testing. | Ned Batchelder | 2019-12-23 | 1 | -0/+15 |
| | |||||
* | Detect when a 4.x data file is being read. #886 | Ned Batchelder | 2019-12-22 | 1 | -5/+12 |
| | |||||
* | Don't need to check for JSON-era bad-data messages any more | Ned Batchelder | 2019-12-22 | 1 | -5/+0 |
| | |||||
* | Coverage(data_file=None) means no data file at all. #871 | Ned Batchelder | 2019-12-02 | 1 | -1/+26 |
| | |||||
* | The [paths] setting is ordered. #649 | Ned Batchelder | 2019-12-01 | 1 | -0/+43 |
| | |||||
* | Experimental: relative_files to support relative file names. | Ned Batchelder | 2019-12-01 | 1 | -0/+91 |
| | |||||
* | These tests needed temp directories | Ned Batchelder | 2019-11-26 | 1 | -1/+3 |
| | |||||
* | Mark tests that don't need a temp dir | Ned Batchelder | 2019-11-25 | 1 | -5/+9 |
| | |||||
* | CoverageData.lines doesn't sort its returned list | Ned Batchelder | 2019-11-09 | 1 | -4/+4 |
| | |||||
* | A little more metacov | Ned Batchelder | 2019-11-05 | 1 | -2/+2 |
| | |||||
* | Exclude some nested coverage lines from coverage | Ned Batchelder | 2019-11-04 | 1 | -28/+32 |
| | |||||
* | Optionally skip empty files in reports | reybog90 | 2019-11-01 | 1 | -1/+2 |
| | |||||
* | Setting query context has to be done with a separate method call | Ned Batchelder | 2019-10-02 | 1 | -8/+8 |
| | |||||
* | Reporting methods shouldn't permanently change the configuration | Ned Batchelder | 2019-09-01 | 1 | -0/+11 |
| | |||||
* | Avoid useless or redundant db operations. Faster. | Ned Batchelder | 2019-07-07 | 1 | -15/+0 |
| | | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts. | ||||
* | New API: Coverage.current() returns the latest started instance. | Ned Batchelder | 2019-06-25 | 1 | -0/+31 |
| | |||||
* | Remove a property that has been deprecated for three years | Ned Batchelder | 2019-06-16 | 1 | -19/+0 |
| |