Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refactor(test): use xfail for tests that fail on specific versions of Python | Ned Batchelder | 2022-01-19 | 6 | -25/+19 | |
| | ||||||
* | test: minor cleanup from start_method fixture work | Ned Batchelder | 2022-01-15 | 1 | -2/+1 | |
| | | | | | | We only had to use remove_files because try_multiprocessing_code used to be called twice in one test. Now that it's only called once, we don't have to clean out stale data files. | |||||
* | fix: proper tracing of call/return for Python 3.11.0a4 | Ned Batchelder | 2022-01-15 | 1 | -2/+0 | |
| | | | | | Version 3.11.0a4 introduced RESUME, so returns and calls are different now. This change also fixes some mishandling of yield-from in previous releases. | |||||
* | test: skip tests suffering from bpo 46389 (3.11) | Ned Batchelder | 2022-01-15 | 2 | -3/+13 | |
| | ||||||
* | test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028) | Ned Batchelder | 2022-01-15 | 1 | -1/+1 | |
| | ||||||
* | test: skip test that fails due to bpo 46331 | Ned Batchelder | 2022-01-15 | 1 | -0/+5 | |
| | ||||||
* | refactor(test): make finally_jumps_back tweaks easier to see | Ned Batchelder | 2022-01-15 | 1 | -39/+22 | |
| | ||||||
* | test: a debug helper to show made-file contents | Ned Batchelder | 2022-01-15 | 1 | -0/+7 | |
| | ||||||
* | fix: 3.11 now traces decorator lines as the decorators execute | Ned Batchelder | 2022-01-15 | 2 | -8/+26 | |
| | | | | See: https://bugs.python.org/issue46234 | |||||
* | fix: don't write a .gitignore unless the directory is empty | Ned Batchelder | 2022-01-11 | 1 | -0/+7 | |
| | ||||||
* | refactor(test): use a fixture to choose spawn/fork multiprocessing start_method | Ned Batchelder | 2022-01-10 | 1 | -39/+65 | |
| | ||||||
* | style(test): full env.PYVERSION can be used for <= comparisons | Ned Batchelder | 2022-01-10 | 1 | -2/+2 | |
| | ||||||
* | style(test): use a consistent name format for test_bug_XXX tests | Ned Batchelder | 2022-01-10 | 3 | -5/+5 | |
| | ||||||
* | refactor(test): make behavior tweaks easier to see | Ned Batchelder | 2022-01-10 | 1 | -30/+23 | |
| | ||||||
* | refactor(test): use math.isclose to check float values | Ned Batchelder | 2022-01-07 | 4 | -10/+15 | |
| | ||||||
* | build: adjust the warning suppressions we need | Ned Batchelder | 2022-01-04 | 1 | -18/+0 | |
| | ||||||
* | test: skip a test on 3.11 while bpo46225 is worked out | Ned Batchelder | 2022-01-03 | 1 | -0/+5 | |
| | ||||||
* | test(build): skip virtualenv tests on 3.11.0a3 (bpo 46028) | Ned Batchelder | 2022-01-02 | 1 | -0/+2 | |
| | | | | | I'm hoping this will be fixed in 3.11.0a4 by https://github.com/python/cpython/pull/30144 | |||||
* | refactor: remove code that was only needed for Python 3.6 | Ned Batchelder | 2021-12-31 | 1 | -1/+0 | |
| | ||||||
* | refactor: clean up mentions of coverage3 alias | Ned Batchelder | 2021-12-31 | 1 | -13/+12 | |
| | ||||||
* | docs: more description in balance_xdist_plugin.py | Ned Batchelder | 2021-12-11 | 1 | -3/+19 | |
| | ||||||
* | build: make upgradenedbat/upgrade-with-kits | Ned Batchelder | 2021-11-30 | 3 | -4/+4 | |
| | ||||||
* | test(feat): track test times, and balance xdist workers | Ned Batchelder | 2021-11-28 | 2 | -49/+179 | |
| | | | | In the end, this seems to only speed things up by about 5% | |||||
* | test(refactor): avoid full commands to speed tests | Ned Batchelder | 2021-11-26 | 2 | -199/+192 | |
| | | | | Also btw, I think some of these tests are duplicative. | |||||
* | test(perf): shave a few seconds off the FailUnder tests | Ned Batchelder | 2021-11-26 | 1 | -12/+9 | |
| | ||||||
* | feat: multiple --concurrency values. #1012 #1082nedbat/multi-concurrency | Ned Batchelder | 2021-11-25 | 2 | -17/+96 | |
| | ||||||
* | test(fix): keep SourceIncludeOmitTest's from clobbering each other | Ned Batchelder | 2021-11-24 | 1 | -8/+20 | |
| | | | | | | | | Because they cd'd into a folder in the shared source tree, their data files would collide, leading to flaky tests. Also, add a check that the tests collected some data, and add sys.path to the debug=trace output. | |||||
* | test(fix): skip tests that trip a specific Mac 3.9 eventlet bug | Ned Batchelder | 2021-11-24 | 1 | -0/+10 | |
| | ||||||
* | test(build): a better way to pin light-thread packages | Ned Batchelder | 2021-11-24 | 1 | -0/+1 | |
| | | | | | Also, clearly indicate when we are skipping tests because the packages aren't available. | |||||
* | test(refactor): simplify the logic of writing subcover.pth | Ned Batchelder | 2021-11-21 | 1 | -4/+2 | |
| | ||||||
* | test(fix): remove the subcover.pth file when the main session ends | Ned Batchelder | 2021-11-21 | 1 | -16/+20 | |
| | | | | | Leaving the pth file meant that the next igor run would start coverage, which meant igor couldn't delete the C extension file on Windows. | |||||
* | test(refactor): if two skips apply, put the more significant reason closer ↵ | Ned Batchelder | 2021-11-21 | 2 | -2/+2 | |
| | | | | to the def | |||||
* | test(refactor): use pathlib for the pth files | Ned Batchelder | 2021-11-21 | 1 | -11/+9 | |
| | ||||||
* | test(fix): never delete the pth file | Ned Batchelder | 2021-11-21 | 1 | -4/+6 | |
| | ||||||
* | fix(test): make .pth files once per session | Ned Batchelder | 2021-11-21 | 3 | -70/+55 | |
| | | | | | | | | | | | The old way, we made and deleted .pth file around each test. This caused problems because pth files are written to a common location shared by all test workers, so tests would fail because pth files were being deleted as other workers were trying to use them. Now we make the pth file once per session. There's still a chance that a worker will be using a pth file just as another worker is ending and removing it. | |||||
* | debug: see the output from run_in_venv | Ned Batchelder | 2021-11-21 | 1 | -0/+2 | |
| | ||||||
* | refactor(test): move unicode handling tests to individual test files | Ned Batchelder | 2021-11-20 | 4 | -85/+87 | |
| | | | | Eight fewer sub-processes | |||||
* | refactor(test): three more subprocesses gone in test_summary.py | Ned Batchelder | 2021-11-20 | 1 | -22/+10 | |
| | ||||||
* | refactor(test): avoid 8 subprocesses in test_summary.py | Ned Batchelder | 2021-11-20 | 1 | -45/+29 | |
| | ||||||
* | refactor(test): remove subprocesses from test_xml.py | Ned Batchelder | 2021-11-20 | 1 | -15/+23 | |
| | ||||||
* | refactor(test): no more subprocesses in test_html.py | Ned Batchelder | 2021-11-20 | 1 | -9/+13 | |
| | ||||||
* | refactor(test): make_data_file is a helper for making data files | Ned Batchelder | 2021-11-20 | 3 | -19/+27 | |
| | ||||||
* | fix: suffix=False will suppress the suffix even with multiprocessing. #989 | Ned Batchelder | 2021-11-18 | 1 | -0/+20 | |
| | ||||||
* | test: properly reset a few globals between every test | Ned Batchelder | 2021-11-17 | 2 | -3/+19 | |
| | ||||||
* | refactor: specialize exceptions | Ned Batchelder | 2021-11-14 | 8 | -57/+57 | |
| | | | | | | 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. | |||||
* | docs: document the exceptions | Ned Batchelder | 2021-11-14 | 3 | -9/+9 | |
| | | | | ... and make some of them private. | |||||
* | test: add a test of `coverage debug premain` | Ned Batchelder | 2021-11-13 | 1 | -0/+15 | |
| | ||||||
* | debug: the `coverage debug` command no longer accepts multiple topics | Ned Batchelder | 2021-11-13 | 1 | -3/+7 | |
| | ||||||
* | feat: 'debug data' now enumerates combinable files also | Ned Batchelder | 2021-11-13 | 1 | -9/+31 | |
| | ||||||
* | refactor: add_lines only needs an iterable of ints | Ned Batchelder | 2021-11-13 | 4 | -31/+31 | |
| | | | | | The old code expected a dict with int keys, but iterables are simpler, so get rid of a lot of dict.fromkeys() nonsense. |