Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: specialize exceptionsnedbat/exceptions | Ned Batchelder | 2021-11-14 | 1 | -4/+4 |
| | | | | | | CoverageException is fine as a base class, but not good to use for raising (and catching sometimes). Introduce specialized exceptions that allow third-party tools to integrate better. | ||||
* | fix: don't report branches to exclusions as missing. #1271 | Ned Batchelder | 2021-11-05 | 1 | -1/+15 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -1/+0 |
| | |||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -15/+0 |
| | |||||
* | 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. | ||||
* | fix: don't report branches to missing lines. #1065 | Ned Batchelder | 2021-02-28 | 1 | -5/+5 |
| | | | | | Fixes: #1065 Fixes: #955 | ||||
* | refactor: convert all skipping to pytest skips | Ned Batchelder | 2021-02-07 | 1 | -5/+2 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -10/+11 |
| | | | | One step of moving to pure pytest tests. | ||||
* | A better test for 'if not __debug__' | Ned Batchelder | 2021-01-10 | 1 | -2/+1 |
| | |||||
* | PEP 626: constant tests are kept as no-ops | Ned Batchelder | 2021-01-10 | 1 | -4/+15 |
| | | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future? | ||||
* | Python 3.10 doesn't compile statments after unconditional jumps. | Ned Batchelder | 2021-01-10 | 1 | -82/+86 |
| | | | | 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 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -1/+1 |
| | |||||
* | Sort the text missing results by line number, not kind | Ned Batchelder | 2018-12-25 | 1 | -5/+5 |
| | |||||
* | A simple test of a test function | Ned Batchelder | 2018-11-11 | 1 | -0/+17 |
| | |||||
* | Adapt to 3.8's way of tracing decorated functions | Ned Batchelder | 2018-11-03 | 1 | -4/+12 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Undo some 3.7b4 ast tweaks | Ned Batchelder | 2018-06-02 | 1 | -11/+2 |
| | |||||
* | Add an explicit test for weird module docstring behavior. | Ned Batchelder | 2017-10-05 | 1 | -0/+23 |
| | |||||
* | Python 3.7 no longer includes class docstrings in the lnotab table | Ned Batchelder | 2017-10-05 | 1 | -1/+6 |
| | |||||
* | Use an ISO standard encoding in coding declarations | Ned Batchelder | 2017-02-21 | 1 | -1/+1 |
| | | | | See https://twitter.com/nedbat/status/833723932658262016 for pedantry. | ||||
* | More pragmas for test skips | Ned Batchelder | 2017-01-14 | 1 | -1/+1 |
| | |||||
* | Use standard skipTest, which unittest-mixins will override. | Ned Batchelder | 2016-06-12 | 1 | -2/+2 |
| | |||||
* | Entry arcs now use the negative first line of the code object instead of -1. | Ned Batchelder | 2016-03-02 | 1 | -1/+1 |
| | |||||
* | Class docstrings shouldn't be considered executable. Not sure what happened ↵ | Ned Batchelder | 2016-01-11 | 1 | -1/+1 |
| | | | | there... | ||||
* | Class docstrings are executable. | Ned Batchelder | 2016-01-10 | 1 | -1/+3 |
| | |||||
* | Branch analysis is now done with AST instead of bytecode | Ned Batchelder | 2016-01-07 | 1 | -19/+81 |
|\ | |||||
| * | Add some tests for uncovered cases | Ned Batchelder | 2016-01-06 | 1 | -1/+16 |
| | | | | | | | | | | --HG-- branch : ast-branch | ||||
| * | Merge in the default branch | Ned Batchelder | 2016-01-02 | 1 | -32/+44 |
| |\ | | | | | | | | | | | | | --HG-- branch : ast-branch | ||||
| * | | Better exception support, include except-except arcs, and except-else | Ned Batchelder | 2016-01-02 | 1 | -12/+45 |
| | | | | | | | | | | | | | | | --HG-- branch : ast-branch | ||||
| * | | Coding declarations are a pain in the ass | Ned Batchelder | 2016-01-02 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | --HG-- branch : ast-branch | ||||
| * | | check_coverage now assumes empty missing and unpredicted, and uses branch always | Ned Batchelder | 2016-01-01 | 1 | -6/+11 |
| | | | | | | | | | | | | | | | --HG-- branch : ast-branch | ||||
* | | | Fix another form-feed problem, #461 | Ned Batchelder | 2016-01-05 | 1 | -0/+16 |
| |/ |/| | |||||
* | | Change if-0 skips to real skips in the tests | Ned Batchelder | 2015-12-25 | 1 | -26/+26 |
| | | |||||
* | | if 0: might not do what we want, use a non-constant | Ned Batchelder | 2015-12-24 | 1 | -5/+5 |
| | | |||||
* | | Non-ascii characters work again in config regexes. Fixes #455. | Ned Batchelder | 2015-12-24 | 1 | -1/+13 |
|/ | |||||
* | Fixing spelling | Ned Batchelder | 2015-08-04 | 1 | -4/+6 |
| | |||||
* | Use the new class name | Ned Batchelder | 2015-07-27 | 1 | -2/+5 |
| | |||||
* | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -2/+4 |
| | |||||
* | Refer to the project consistenly as coverage.py. #275 | Ned Batchelder | 2015-07-23 | 1 | -1/+1 |
| | |||||
* | A better way to indicate that a tempdir test isn't making any files. | Ned Batchelder | 2015-04-24 | 1 | -5/+1 |
| | |||||
* | Fully embrace SkipTest with our own method. | Ned Batchelder | 2015-02-07 | 1 | -13/+15 |
| | | | | | Also, no test is conditionally defined. They call self.skip if they should be skippped. | ||||
* | Collect all the nudgy environment checks into coverage.env | Ned Batchelder | 2015-01-18 | 1 | -2/+3 |
| | |||||
* | Accept more kinds of whitespace in pragmas. #334 | Ned Batchelder | 2014-11-27 | 1 | -1/+3 |
| | |||||
* | Avoid a bunch of deprecated functions. | Ned Batchelder | 2014-05-17 | 1 | -7/+7 |
| | |||||
* | Use assertRaises as a context manager now that we can. | Ned Batchelder | 2013-12-21 | 1 | -24/+16 |
| | |||||
* | No need for paren-less exec any more. | Ned Batchelder | 2013-12-14 | 1 | -62/+29 |
| |