Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | A simple test of a test function | Ned Batchelder | 2018-11-11 | 1 | -0/+17 |
| | |||||
* | One last decorator test change for 3.8 | Ned Batchelder | 2018-11-11 | 1 | -2/+10 |
| | |||||
* | Update an HTML gold test due to new peephole optimizations | Ned Batchelder | 2018-11-11 | 3 | -47/+37 |
| | |||||
* | Comparison should always be expected,actual | Ned Batchelder | 2018-11-11 | 1 | -6/+6 |
| | |||||
* | Canonicalize the XML output | Ned Batchelder | 2018-11-11 | 1 | -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. | ||||
* | Refactor the XML comparison | Ned Batchelder | 2018-11-11 | 1 | -23/+16 |
| | |||||
* | Comparison is not symmetric, it's expected vs actual | Ned Batchelder | 2018-11-11 | 5 | -42/+44 |
| | |||||
* | Always compare expected then actual | Ned Batchelder | 2018-11-11 | 1 | -17/+17 |
| | |||||
* | Keep test tempdirs distinct, for saving and comparing test output | Ned Batchelder | 2018-11-11 | 2 | -8/+13 |
| | |||||
* | Python 3.8 will optimize away "while True:" | Ned Batchelder | 2018-11-11 | 4 | -10/+52 |
| | |||||
* | Better error handling in set_env.py | Ned Batchelder | 2018-11-09 | 1 | -6/+22 |
| | |||||
* | Minor cleanup in tox.ini | Ned Batchelder | 2018-11-05 | 1 | -3/+5 |
| | |||||
* | Debug-time environment variables can be set with set_env.py | Ned Batchelder | 2018-11-03 | 7 | -1/+103 |
| | |||||
* | Record that a bug was fixed. #700 | Ned Batchelder | 2018-11-03 | 1 | -1/+4 |
| | |||||
* | Everything should get a docstring | Ned Batchelder | 2018-11-03 | 2 | -0/+2 |
| | |||||
* | Adapt to 3.8's way of tracing decorated functions | Ned Batchelder | 2018-11-03 | 4 | -14/+56 |
| | |||||
* | You can turn off contracts while debugging tests | Ned Batchelder | 2018-11-03 | 1 | -1/+5 |
| | |||||
* | Make this useful for py3 also | Ned Batchelder | 2018-11-03 | 1 | -1/+2 |
| | |||||
* | More correct | Ned Batchelder | 2018-11-01 | 1 | -1/+1 |
| | |||||
* | Better version showing | Ned Batchelder | 2018-10-31 | 1 | -2/+1 |
| | |||||
* | Remove use_2to3=False; it is the default | Jon Dufresne | 2018-10-27 | 1 | -7/+0 |
| | | | | Slightly simplifies setup.py. | ||||
* | Use a new event loop | Ned Batchelder | 2018-10-24 | 1 | -2/+2 |
| | |||||
* | Add 3.7, and other appveyor changes | Ned Batchelder | 2018-10-24 | 1 | -15/+37 |
| | |||||
* | Always include a documentation link at the end of help messages | Ned Batchelder | 2018-10-21 | 2 | -14/+24 |
| | |||||
* | Make directories for the data file if needed. #721 | Ned Batchelder | 2018-10-21 | 3 | -0/+14 |
| | |||||
* | Helpers for making directories | Ned Batchelder | 2018-10-21 | 3 | -7/+20 |
| | |||||
* | Clean __pycache__ before .pyc (a little faster?) | Ned Batchelder | 2018-10-19 | 1 | -1/+1 |
| | |||||
* | PyPy3 fixed an obscure bug long ago, we don't need this override | Ned Batchelder | 2018-10-19 | 1 | -7/+3 |
| | |||||
* | One more error case for the command line | Ned Batchelder | 2018-10-19 | 2 | -3/+21 |
| | |||||
* | Clean up a metacov .pth file that could get left behind. | Ned Batchelder | 2018-10-19 | 2 | -0/+2 |
| | |||||
* | `[run] command_line` is the command line to use for 'coverage run'. #695 | Ned Batchelder | 2018-10-18 | 5 | -4/+64 |
| | |||||
* | This was in the wrong place | Ned Batchelder | 2018-10-18 | 1 | -3/+3 |
| | |||||
* | We weren't using this argument | Ned Batchelder | 2018-10-18 | 1 | -2/+2 |
| | |||||
* | This is literally what setdefault is for | Ned Batchelder | 2018-10-18 | 1 | -2/+1 |
| | |||||
* | Clean some lint | Ned Batchelder | 2018-10-17 | 2 | -4/+8 |
| | |||||
* | Don't clobber sys.path[0]. #715 | Ned Batchelder | 2018-10-16 | 2 | -4/+4 |
| | |||||
* | A test for 'no such table: meta' as in #716. | Ned Batchelder | 2018-10-16 | 1 | -0/+12 |
| | |||||
* | Allow later DebugOutputFile to replace earlier ones | Ned Batchelder | 2018-10-16 | 1 | -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. | ||||
* | Put this helper in the right place | Ned Batchelder | 2018-10-16 | 1 | -6/+7 |
| | |||||
* | Note a bug we closed | Ned Batchelder | 2018-10-16 | 1 | -1/+3 |
| | |||||
* | Do we need more than 10 tries? | Ned Batchelder | 2018-10-15 | 1 | -1/+1 |
| | |||||
* | Use one transaction to speed combining | Ned Batchelder | 2018-10-15 | 2 | -40/+50 |
| | |||||
* | MichaĆ suggested this would make the information easier to find. | Ned Batchelder | 2018-10-14 | 2 | -3/+4 |
| | |||||
* | Defer using the database when calling set_context #716 | Ned Batchelder | 2018-10-14 | 3 | -14/+19 |
| | | | | | | | | | | | 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. | ||||
* | Use --source to ensure tests are showing what we want. | Ned Batchelder | 2018-10-14 | 3 | -8/+10 |
| | | | | | | | | | | | Travis started having these extra files in coverage reports from our tests: site-packages/pkg_resources/_vendor/six.py site-packages/pkg_resources/extern/__init__.py I don't know why they are being pulled in, but the tests aren't interested in them, and it is throwing off the results. | ||||
* | Have to rethink how to use contexts ourselves | Ned Batchelder | 2018-10-14 | 2 | -4/+0 |
| | | | | | | Contexts fail when using PYTRACER, and we want to measure coverage under PYTRACER (at least for PyPy), so we need a more sophisticated strategy for how to use contexts. | ||||
* | Missed one file when updating license links | Ned Batchelder | 2018-10-14 | 1 | -1/+1 |
| | |||||
* | Not sure how I went for so long without one of these creeping in | Ned Batchelder | 2018-10-14 | 1 | -0/+3 |
| | |||||
* | Oops, we were always measuring coverage on Travis | Ned Batchelder | 2018-10-13 | 1 | -1/+1 |
| | |||||
* | Fewer conditionals for debug output | Ned Batchelder | 2018-10-13 | 3 | -23/+30 |
| |