Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test: more tests of debug output control | Ned Batchelder | 2023-01-22 | 1 | -3/+12 |
| | |||||
* | feat: the debug output file can be specified in the config file. #1319 | Ned Batchelder | 2023-01-22 | 1 | -13/+53 |
| | |||||
* | mypy: use __future__ uniformly in checked files | Ned Batchelder | 2023-01-05 | 1 | -0/+2 |
| | |||||
* | mypy: test_debug.py test_execfile.py test_filereporter.py test_files.py | Ned Batchelder | 2023-01-04 | 1 | -22/+28 |
| | |||||
* | test: nicer way to test debug=pybehave | Ned Batchelder | 2022-02-06 | 1 | -2/+3 |
| | |||||
* | debug: pybehave is now an option on `coverage debug` | Ned Batchelder | 2022-02-06 | 1 | -0/+9 |
| | |||||
* | refactor: out_lines was a bad name for a multi-line string. | Ned Batchelder | 2022-02-06 | 1 | -22/+21 |
| | |||||
* | test: include lock debugging in the debug_callers test | Ned Batchelder | 2022-02-03 | 1 | -1/+1 |
| | |||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -4/+4 |
| | |||||
* | refactor(test): make re_lines (et al) look like re.search | Ned Batchelder | 2021-10-28 | 1 | -17/+12 |
| | | | | and also replace some calls with just-plain re.search. | ||||
* | refactor(test): re_lines is more useful if it returns a list | Ned Batchelder | 2021-10-27 | 1 | -6/+6 |
| | |||||
* | refactor: don't need this print | Ned Batchelder | 2021-10-09 | 1 | -1/+0 |
| | |||||
* | fix: use more explicit names for some debug information | Ned Batchelder | 2021-06-02 | 1 | -1/+1 |
| | |||||
* | test: traced file names seem to be absolute now? #1161 | Ned Batchelder | 2021-05-08 | 1 | -2/+4 |
| | | | | | This was changed in 3.10.0b1 and 3.9.5. Seems like a strange change to throw into 3.9.5, but there it is. Fixes #1161. | ||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | fix: don't measure third-party packages | Ned Batchelder | 2021-04-10 | 1 | -2/+3 |
| | | | | | | | | | | | | Avoid measuring code located where third-party packages get installed. We have to take care to measure --source code even if it is installed in a third-party location. This also fixes #905, coverage generating warnings about coverage being imported when it will be measured. https://github.com/nedbat/coveragepy/issues/876 https://github.com/nedbat/coveragepy/issues/905 | ||||
* | refactor: make all coverage.env uses uniform | Ned Batchelder | 2021-02-07 | 1 | -2/+2 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -6/+4 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+1 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -29/+26 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Use a fixed width for info labels | Ned Batchelder | 2019-12-29 | 1 | -11/+21 |
| | | | | | It makes it look nicer when using --debug=config,sys and it makes it easier to compare output between two different versions. | ||||
* | Log some indication of the script being executed | Ned Batchelder | 2019-09-02 | 1 | -0/+9 |
| | |||||
* | Make callers debug output easier to use as editor launches | Ned Batchelder | 2019-09-01 | 1 | -3/+3 |
| | |||||
* | Remove the JSON data code | Ned Batchelder | 2019-07-10 | 1 | -7/+2 |
| | |||||
* | Avoid useless or redundant db operations. Faster. | Ned Batchelder | 2019-07-07 | 1 | -4/+6 |
| | | | | | | Moving operations into the "with self._connect" means less opening and closing of the database. Returning early if there is no data to write avoids writing empty contexts. | ||||
* | Asserts should be expected,actual | Ned Batchelder | 2018-12-24 | 1 | -1/+1 |
| | |||||
* | Defer using the database when calling set_context #716 | Ned Batchelder | 2018-10-14 | 1 | -2/+2 |
| | | | | | | | | | | | 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. | ||||
* | measured_contexts() and two simple tests of the global context | Ned Batchelder | 2018-09-21 | 1 | -2/+2 |
| | |||||
* | Put back an always-on indication of the tracer available | Ned Batchelder | 2018-08-30 | 1 | -2/+13 |
| | |||||
* | Better sys_info: pid, and a more understandable name. | Ned Batchelder | 2018-08-26 | 1 | -2/+2 |
| | |||||
* | Be flexible, and accept either json-sourced or sql-source error messages in ↵ | Ned Batchelder | 2018-08-24 | 1 | -4/+9 |
| | | | | some tests | ||||
* | Make file operations implicit on constructed filename | Ned Batchelder | 2018-07-23 | 1 | -2/+2 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Slight refactor of how we look for configuration files | Ned Batchelder | 2018-03-19 | 1 | -2/+2 |
| | |||||
* | * --source and --include are mutually exclusive (take 2) #265 | loic@dachary.org | 2017-01-07 | 1 | -1/+2 |
| | | | | | close #265 close #101 | ||||
* | Pids can be less that 5 digits | Ned Batchelder | 2017-03-23 | 1 | -1/+1 |
| | |||||
* | Big refactor of debug logging | Ned Batchelder | 2017-03-22 | 1 | -20/+30 |
| | |||||
* | Sometimes we match against files, sometimes directories. | Ned Batchelder | 2017-02-21 | 1 | -1/+1 |
| | | | | Also, skip our own test code when running tests. | ||||
* | Add tests for short_id, and pytest-ize an existing one | Ned Batchelder | 2017-01-02 | 1 | -10/+20 |
| | |||||
* | Pids can be fewer than 5 digits | Ned Batchelder | 2016-09-24 | 1 | -2/+2 |
| | |||||
* | Change the debug=callers test to something that will be coverable | Ned Batchelder | 2016-09-24 | 1 | -12/+15 |
| | |||||
* | Clean up and test the callers debugging info | Ned Batchelder | 2016-09-24 | 1 | -0/+13 |
| | |||||
* | Test short_stack, and give it a skip parameter for better output. | Ned Batchelder | 2016-09-24 | 1 | -1/+36 |
| | |||||
* | Use the new class name | Ned Batchelder | 2015-07-27 | 1 | -1/+1 |
| | |||||
* | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -0/+3 |
| | |||||
* | Use PyContracts so we can declare/enforce parameter and return types. | Ned Batchelder | 2015-05-17 | 1 | -1/+1 |
| | | | | | This commit doesn't add any uses of PyContracts, but gets the machinery in place. | ||||
* | Make the two forms of debug output more uniform | Ned Batchelder | 2015-01-24 | 1 | -1/+11 |
| | |||||
* | info_formatter shouldn't assume it gets a list | Ned Batchelder | 2015-01-24 | 1 | -0/+4 |
| | |||||
* | Comment was missing a word | Ned Batchelder | 2015-01-19 | 1 | -1/+1 |
| | |||||
* | Allow the --debug switch on any command | Ned Batchelder | 2014-10-26 | 1 | -1/+5 |
| |