summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-3120-167/+179
|
* build: quiet a silly pylint warningNed Batchelder2021-01-311-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 importsNed Batchelder2021-01-3114-14/+21
|
* style: singleton comparisons should use isNed Batchelder2021-01-318-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 methodNed Batchelder2021-01-311-4/+4
|
* test: adapt to pytest assertion messagesNed Batchelder2021-01-312-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 brokennessNed Batchelder2021-01-312-17/+21
| | | | | | | unittest2pytest created syntax errors, reported here: https://github.com/pytest-dev/unittest2pytest/issues/51 This commit fixes them back.
* refactor: unittest2pytest -w testsNed Batchelder2021-01-3131-1294/+1165
| | | | One step of moving to pure pytest tests.
* build: clearly label auto-generated filesNed Batchelder2021-01-3010-0/+20
|
* build: next version will be 5.5Ned Batchelder2021-01-301-1/+1
| | | | Since we've added a feature (combine --keep).
* style: nicer long function callNed Batchelder2021-01-301-2/+7
|
* doc: touch-ups for `combine --keep`Ned Batchelder2021-01-307-8/+19
|
* Add combine --keep (#1110)Éric Larivière2021-01-308-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) versionsNed Batchelder2021-01-272-5/+7
| | | | Also: suppress some Python 3-only suggestions until later.
* refactor: Move post-processing into CoverageConfigNed Batchelder2021-01-271-7/+15
|
* Update the doc requirementsNed Batchelder2021-01-261-4/+7
|
* fix typos in changelogValentin Lab2021-01-262-3/+3
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* Add versionadded info for the new 5.4 configuration optionsNed Batchelder2021-01-261-0/+4
|
* Version bumpNed Batchelder2021-01-262-1/+7
|
* Combine kit download with kit checkNed Batchelder2021-01-262-5/+6
|
* Remove unneeded slashcoverage-5.4Ned Batchelder2021-01-261-1/+1
|
* Prep for 5.4Ned Batchelder2021-01-247-15/+17
|
* Latest sample HTMLNed Batchelder2021-01-2411-21/+21
|
* Simplify the testing of the toml extra, fixing #1084Ned Batchelder2021-01-186-92/+44
|
* Add changelog for #1080 #577Ned Batchelder2021-01-172-1/+6
|
* fix: combine aliases on windows base dirs (ie: ``X:\``) (fixes: #577)Valentin Lab2021-01-172-2/+18
| | | | Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
* skip_covered and skip_empty for HTML. #1090Ned Batchelder2021-01-106-39/+74
|
* I don't understand the codecov comments, so turn them offNed Batchelder2021-01-101-3/+1
|
* Mention PEP 626 in the changelogNed Batchelder2021-01-101-0/+5
|
* Better control over setup.py warningsNed Batchelder2021-01-101-1/+14
|
* Use the modern way to load modules by file name.Ned Batchelder2021-01-103-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
* Fix a test to be usable with PEP626Ned Batchelder2021-01-101-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 reportNed Batchelder2021-01-103-16/+210
|
* Update the support files for HTML gold filesNed Batchelder2021-01-102-54/+226
|
* A better test for 'if not __debug__'Ned Batchelder2021-01-103-16/+15
|
* Use the supported way to get a C frame's linenoNed Batchelder2021-01-101-10/+10
| | | | See https://bugs.python.org/issue42823 for discussion.
* PEP 626: Docstring-only functions changed againNed Batchelder2021-01-102-1/+5
|
* PEP 626: constant tests are kept as no-opsNed Batchelder2021-01-106-36/+155
| | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future?
* COVERAGE_ONE_TRACER runs just one tracerNed Batchelder2021-01-101-3/+21
| | | | It chooses the appropriate tracer based on the implementation.
* Clean up the platform constants in env.pyNed Batchelder2021-01-102-7/+8
|
* A simple tool to see branch tracing arcsNed Batchelder2021-01-101-0/+17
|
* In 3.10, modules always have firstlineno==1Ned Batchelder2021-01-104-2/+21
|
* Py 3.10 doesn't jump back from finally any moreNed Batchelder2021-01-101-1/+1
|
* Python 3.10 doesn't compile statments after unconditional jumps.Ned Batchelder2021-01-103-89/+123
| | | | This includes break/continue/return/raise.
* Use co_lines() if it's availableNed Batchelder2021-01-101-27/+28
|
* 2506 is fixed?Ned Batchelder2021-01-101-4/+7
|
* show_pyc: Interpret co_lnotab, and show co_lines()Ned Batchelder2021-01-101-0/+36
|
* show_pyc: Use 4-space indentsNed Batchelder2021-01-101-3/+3
|
* show_pyc: Flags changed in 3.9Ned Batchelder2021-01-101-7/+31
|
* So that set_env can show me one more variableNed Batchelder2021-01-101-0/+1
|