summaryrefslogtreecommitdiff
path: root/coverage
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize the XML outputNed Batchelder2018-11-111-5/+24
| | | | | | | | | | https://bugs.python.org/issue34160 added retaining the user's attribute order to the XML output, which removed the sorting that used to happen. This broke our XML tests, which compare against saved gold files. This adds in a rough-and-ready canonicalization to avoid the problem. Maybe the core devs will eventually support a sort_attributes option, and I can get rid of this.
* Python 3.8 will optimize away "while True:"Ned Batchelder2018-11-112-0/+23
|
* Debug-time environment variables can be set with set_env.pyNed Batchelder2018-11-033-0/+4
|
* Adapt to 3.8's way of tracing decorated functionsNed Batchelder2018-11-032-7/+30
|
* You can turn off contracts while debugging testsNed Batchelder2018-11-031-1/+5
|
* Always include a documentation link at the end of help messagesNed Batchelder2018-10-211-8/+10
|
* Make directories for the data file if needed. #721Ned Batchelder2018-10-211-0/+1
|
* Helpers for making directoriesNed Batchelder2018-10-213-7/+20
|
* PyPy3 fixed an obscure bug long ago, we don't need this overrideNed Batchelder2018-10-191-7/+3
|
* One more error case for the command lineNed Batchelder2018-10-191-0/+4
|
* `[run] command_line` is the command line to use for 'coverage run'. #695Ned Batchelder2018-10-182-0/+10
|
* Clean some lintNed Batchelder2018-10-171-1/+2
|
* Don't clobber sys.path[0]. #715Ned Batchelder2018-10-161-4/+0
|
* Allow later DebugOutputFile to replace earlier onesNed Batchelder2018-10-161-6/+12
| | | | | | When logging calls, get_one() is called with no filters. It would be the_one, so a later get_one with filters for pids wouldn't take effect. Now the earlier is only interim, and the later one wins.
* Use one transaction to speed combiningNed Batchelder2018-10-151-39/+45
|
* Defer using the database when calling set_context #716Ned Batchelder2018-10-141-11/+14
| | | | | | | | | | | The collector calls set_context() before any code is run. If we touch the database there, it will get created *very* early. This causes problems with pytest-cov, which will delete those early-created files when erasing data. By deferring the database access until add_lines is called, the data file stays off the disk until the collection is done (or until the context switches), which avoids the problem.
* Fewer conditionals for debug outputNed Batchelder2018-10-133-23/+30
|
* Debugging improvementsNed Batchelder2018-10-132-6/+6
|
* Version bumpNed Batchelder2018-10-061-1/+1
|
* Finally jumps back to exiting linesNed Batchelder2018-10-062-9/+48
| | | | | | In Python 3.8, when a finally clause is run because a line in the try block is exiting the block, the exiting line is visited again after the finally block.
* Python 3.8 uses Constant nodes in the ASTNed Batchelder2018-10-041-1/+1
|
* Python 3.6 changed lnotab to signed bytesNed Batchelder2018-10-041-0/+2
|
* SimplifyNed Batchelder2018-09-281-6/+2
|
* Deal with properties in qualname_from_frameNed Batchelder2018-09-281-1/+4
|
* Get qualified names for method contextsNed Batchelder2018-09-281-1/+37
|
* Move the context determiner to its own fileNed Batchelder2018-09-282-8/+12
|
* Oops, remove noisy debugging codeNed Batchelder2018-09-281-2/+0
|
* Record the sys.argv in the dbNed Batchelder2018-09-281-3/+5
|
* Faster combiningNed Batchelder2018-09-271-7/+13
|
* Even more clarity for an error messageNed Batchelder2018-09-251-1/+2
|
* CoverageSqliteData.__nonzero__: do not create DBDaniel Hahler2018-09-241-0/+2
| | | | This makes is more lazy and avoids creating an empty DB unnecessarily.
* Merge branch 'nedbat/dynamic-contexts'Ned Batchelder2018-09-246-40/+61
|\
| * Make static and dynamic contexts work togetherNed Batchelder2018-09-231-1/+7
| |
| * Dynamic contextsNed Batchelder2018-09-236-40/+55
| |
* | Fix a versionadded commentNed Batchelder2018-09-231-2/+2
|/
* Merge branch 'nedbat/contexts'Ned Batchelder2018-09-216-45/+147
|\
| * More debugging.Ned Batchelder2018-09-212-0/+12
| |
| * Combining contexts worksNed Batchelder2018-09-211-22/+52
| |
| * measured_contexts() and two simple tests of the global contextNed Batchelder2018-09-212-11/+21
| |
| * Change measured_files to a setNed Batchelder2018-09-213-12/+8
| |
| * Set the context in the dataNed Batchelder2018-09-213-5/+8
| |
| * SqlData can set_contextNed Batchelder2018-09-181-0/+14
| |
| * Collector has a CoverageDataNed Batchelder2018-09-182-6/+18
| |
| * Plumb through context= settingNed Batchelder2018-09-183-2/+13
| |
| * Super-simple contexts added to the schemaNed Batchelder2018-09-181-7/+21
| |
* | Clarify an error messageNed Batchelder2018-09-191-1/+1
| |
* | Fix cyclic importNed Batchelder2018-09-131-1/+2
| |
* | Check for import orderNed Batchelder2018-09-131-3/+3
| |
* | Name decorator components to avoid docstring requirementNed Batchelder2018-09-092-9/+8
| |
* | No need for a separate variableNed Batchelder2018-09-091-2/+1
| |