Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Create Way to force package even if filepath exists (#1026) | Thomas Grainger | 2020-09-12 | 5 | -0/+24 |
| | | | Fixes: #268 | ||||
* | replace confusing comment with assertion (#1028) | Thomas Grainger | 2020-09-12 | 1 | -3/+12 |
| | |||||
* | Explain a mystery | Ned Batchelder | 2020-09-02 | 1 | -0/+4 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 13 | -54/+53 |
| | |||||
* | Displaying timezone information in HTML report (#960) | Xie Yanbo | 2020-07-23 | 39 | -38/+44 |
| | | | | | | | | * Displaying timezone information in HTML report * A helpber to format datetime with local timezone * No backward compatibility with older python versions | ||||
* | CmdLineStdoutTest::test_cmd_help: test for at least 20 lines (#1013) | latricewilgus | 2020-07-19 | 1 | -1/+1 |
| | | | | | | | | | The number of lines in the help output of a command depends on the terminal size. The smaller the more line breaks. The minimum number of lines for the current help message is 23. Currently we are checking for at least 30 lines, yielding to failures on large terminals. Reduce the number (currently 30) to 20 to have some leeway for the future. | ||||
* | Fix dark mode for context listing. #1009 | Ned Batchelder | 2020-07-09 | 1 | -2/+12 |
| | |||||
* | A known failure has been fixed | Ned Batchelder | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | Back to monospaced for the index page | Ned Batchelder | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | Switch to python-based sass compiler | Ned Batchelder | 2020-07-05 | 1 | -1/+111 |
| | |||||
* | Report descending sort option (#1005) | Jerin Peter George | 2020-07-03 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | * added descending sort option in coverage report * commandline option for report sort added * Fix tests for pull #1005 * conditional statements improved * sort option help updated with choices * commandline test for sort added Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | Fix broken sorting tests. Good catch, Jerin Peter George | Ned Batchelder | 2020-07-03 | 1 | -10/+11 |
| | |||||
* | --skip-empty now applies to the XML report also. #976nedbat/bug976 | Ned Batchelder | 2020-06-30 | 2 | -1/+8 |
| | |||||
* | Simplify testing of --no-skip-covered, and add docs | Ned Batchelder | 2020-06-29 | 2 | -30/+10 |
| | |||||
* | More HTML tweaks | Ned Batchelder | 2020-06-29 | 1 | -4/+3 |
| | | | | | | | | - Let the left and right cells have padding so the hover bar looks good. - Adjust the table left margin so the contents still line up with the header. - Fix the up/down arrows to be correct for the sorting order they indicate. |