summaryrefslogtreecommitdiff
path: root/coverage/collector.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor: specialize exceptionsnedbat/exceptionsNed Batchelder2021-11-141-5/+5
| | | | | | 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.
* test: mark some uncovered lines in collector.pyNed Batchelder2021-10-141-4/+4
|
* perf: reduce the overhead of recording branchesNed Batchelder2021-10-141-1/+21
|
* fix: use human sorting on human-readable thingsNed Batchelder2021-10-121-2/+2
|
* fix: raise chained errors with "from" #998Ned Batchelder2021-07-201-4/+4
| | | | | | This makes exceptions report their causes correctly, as "The above exception was the direct cause of the following exception" instead of "During handling of the above exception, another exception occurred."
* refactor: convert more %-formatting to f-stringsNed Batchelder2021-05-021-2/+2
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-021-1/+2
|
* refactor: pyupgrade --py36-plus coverage/*.pyNed Batchelder2021-05-021-9/+9
|
* refactor: remove more unneeded backward.py shimsNed Batchelder2021-05-011-3/+2
| | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS
* refactor: remove unneeded backward.py shimsNed Batchelder2021-05-011-1/+1
| | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib
* Use set literalsNed Batchelder2021-01-031-1/+1
|
* If a plugin is disabled, don't try to record its file tracers. #1011Ned Batchelder2020-09-131-1/+12
|
* Move disable_plugin to PythonNed Batchelder2020-09-131-0/+11
|
* Tweak some coverage details of switch_context codeNed Batchelder2019-12-221-4/+0
|
* Experimental: relative_files to support relative file names.Ned Batchelder2019-12-011-13/+17
|
* Clean-ups I noticed while doing something elseNed Batchelder2019-11-171-22/+22
|
* Use pylint 2.xNed Batchelder2019-05-131-1/+1
|
* Use pipe symbol to join static and dynamic contextsNed Batchelder2019-04-261-1/+1
|
* Make static and dynamic contexts work togetherNed Batchelder2018-09-231-1/+7
|
* Dynamic contextsNed Batchelder2018-09-231-37/+26
|
* Set the context in the dataNed Batchelder2018-09-211-1/+5
|
* Collector has a CoverageDataNed Batchelder2018-09-181-5/+13
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* A few cleanupsNed Batchelder2018-05-311-0/+1
|
* Add collector local cache of abs_file"David R. MacIver"2018-05-141-1/+9
|
* Huge refactor of code out of control into inoroutNed Batchelder2018-02-251-5/+1
| | | | | --HG-- branch : inorout
* Pylint 1.8.1, and fix its new warningsNed Batchelder2017-12-231-0/+1
|
* Another approach to solving the 'dictionary changed size during iteration' ↵Ned Batchelder2017-11-041-4/+16
| | | | problem
* More info when _collectors is surprisingNed Batchelder2017-11-041-0/+7
|
* Merged in ogrisel/coverage.py/fix-thread-safety (pull request #127)Ned Batchelder2017-10-211-1/+4
|\ | | | | | | FIX thread-safe Collector.save_data()
| * FIX thread-safe Collector.save_data()Olivier Grisel2017-08-101-1/+4
| | | | | | | | | | --HG-- branch : fix-thread-safety
* | Fixes documentation comments about arguments to Collector.David R. MacIver2017-09-151-4/+5
|/
* Cleanly stop coverage objects, for metacovNed Batchelder2017-03-111-1/+1
| | | | | Without these cov.stop() calls, the collector stack is wrong when doing meta-coverage.
* Slightly better way to organize the condition on activityNed Batchelder2017-03-041-2/+9
|
* Collecting continues after saving data. #79 #448Ned Batchelder2017-03-031-7/+21
|
* Let the concurrency option be multi-valued. #484Ned Batchelder2016-07-041-9/+20
|
* Update pylint to 1.5.6Ned Batchelder2016-06-251-1/+1
|
* Clean ups and docstringsNed Batchelder2016-01-311-0/+5
|
* Write separate wtw files for each processNed Batchelder2016-01-311-1/+2
|
* Clean up WTW so that it is safe to mergeNed Batchelder2016-01-301-6/+15
|
* WIP: record contexts for who tests whatNed Batchelder2015-11-141-1/+21
|
* Protect ourselves from mock'ed os. #416Ned Batchelder2015-10-061-2/+6
|
* Greenlet is always availble, remove conditionalization.Ned Batchelder2015-08-301-1/+1
|
* OMG, sometimes the hardest problems have simple solutions. Now metacoverage ↵Ned Batchelder2015-08-301-1/+1
| | | | works with the Python tracer.
* Oops, that last commit broke fullcoverage. Fix it.Ned Batchelder2015-08-231-8/+9
|
* Make metacov run without errors.Ned Batchelder2015-08-231-3/+11
|
* Polish up collector.pyNed Batchelder2015-08-221-21/+8
|
* Despite the name, these arguments were used.Ned Batchelder2015-08-221-2/+2
|
* Fix 'filename' to be 'file name' in English.Ned Batchelder2015-08-201-7/+7
|
* Touching files in an empty CoverageData shouldn't force lines. #399Ned Batchelder2015-08-201-3/+3
| | | | | | | | py.test --cov can write empty data to arcs, and then touch files due to --source. This would make the file be about lines instead of arcs, and then combining would fail. This changed a lot of CoverageData, including some of the methods names.