summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* refactor(test): use xfail for tests that fail on specific versions of PythonNed Batchelder2022-01-196-25/+19
|
* test: minor cleanup from start_method fixture workNed Batchelder2022-01-151-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.0a4Ned Batchelder2022-01-151-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 Batchelder2022-01-152-3/+13
|
* test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028)Ned Batchelder2022-01-151-1/+1
|
* test: skip test that fails due to bpo 46331Ned Batchelder2022-01-151-0/+5
|
* refactor(test): make finally_jumps_back tweaks easier to seeNed Batchelder2022-01-151-39/+22
|
* test: a debug helper to show made-file contentsNed Batchelder2022-01-151-0/+7
|
* fix: 3.11 now traces decorator lines as the decorators executeNed Batchelder2022-01-152-8/+26
| | | | See: https://bugs.python.org/issue46234
* fix: don't write a .gitignore unless the directory is emptyNed Batchelder2022-01-111-0/+7
|
* refactor(test): use a fixture to choose spawn/fork multiprocessing start_methodNed Batchelder2022-01-101-39/+65
|
* style(test): full env.PYVERSION can be used for <= comparisonsNed Batchelder2022-01-101-2/+2
|
* style(test): use a consistent name format for test_bug_XXX testsNed Batchelder2022-01-103-5/+5
|
* refactor(test): make behavior tweaks easier to seeNed Batchelder2022-01-101-30/+23
|
* refactor(test): use math.isclose to check float valuesNed Batchelder2022-01-074-10/+15
|
* build: adjust the warning suppressions we needNed Batchelder2022-01-041-18/+0
|
* test: skip a test on 3.11 while bpo46225 is worked outNed Batchelder2022-01-031-0/+5
|
* test(build): skip virtualenv tests on 3.11.0a3 (bpo 46028)Ned Batchelder2022-01-021-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.6Ned Batchelder2021-12-311-1/+0
|
* refactor: clean up mentions of coverage3 aliasNed Batchelder2021-12-311-13/+12
|
* docs: more description in balance_xdist_plugin.pyNed Batchelder2021-12-111-3/+19
|
* build: make upgradenedbat/upgrade-with-kitsNed Batchelder2021-11-303-4/+4
|
* test(feat): track test times, and balance xdist workersNed Batchelder2021-11-282-49/+179
| | | | In the end, this seems to only speed things up by about 5%
* test(refactor): avoid full commands to speed testsNed Batchelder2021-11-262-199/+192
| | | | Also btw, I think some of these tests are duplicative.
* test(perf): shave a few seconds off the FailUnder testsNed Batchelder2021-11-261-12/+9
|
* feat: multiple --concurrency values. #1012 #1082nedbat/multi-concurrencyNed Batchelder2021-11-252-17/+96
|
* test(fix): keep SourceIncludeOmitTest's from clobbering each otherNed Batchelder2021-11-241-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 bugNed Batchelder2021-11-241-0/+10
|
* test(build): a better way to pin light-thread packagesNed Batchelder2021-11-241-0/+1
| | | | | Also, clearly indicate when we are skipping tests because the packages aren't available.
* test(refactor): simplify the logic of writing subcover.pthNed Batchelder2021-11-211-4/+2
|
* test(fix): remove the subcover.pth file when the main session endsNed Batchelder2021-11-211-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 Batchelder2021-11-212-2/+2
| | | | to the def
* test(refactor): use pathlib for the pth filesNed Batchelder2021-11-211-11/+9
|
* test(fix): never delete the pth fileNed Batchelder2021-11-211-4/+6
|
* fix(test): make .pth files once per sessionNed Batchelder2021-11-213-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_venvNed Batchelder2021-11-211-0/+2
|
* refactor(test): move unicode handling tests to individual test filesNed Batchelder2021-11-204-85/+87
| | | | Eight fewer sub-processes
* refactor(test): three more subprocesses gone in test_summary.pyNed Batchelder2021-11-201-22/+10
|
* refactor(test): avoid 8 subprocesses in test_summary.pyNed Batchelder2021-11-201-45/+29
|
* refactor(test): remove subprocesses from test_xml.pyNed Batchelder2021-11-201-15/+23
|
* refactor(test): no more subprocesses in test_html.pyNed Batchelder2021-11-201-9/+13
|
* refactor(test): make_data_file is a helper for making data filesNed Batchelder2021-11-203-19/+27
|
* fix: suffix=False will suppress the suffix even with multiprocessing. #989Ned Batchelder2021-11-181-0/+20
|
* test: properly reset a few globals between every testNed Batchelder2021-11-172-3/+19
|
* refactor: specialize exceptionsNed Batchelder2021-11-148-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 exceptionsNed Batchelder2021-11-143-9/+9
| | | | ... and make some of them private.
* test: add a test of `coverage debug premain`Ned Batchelder2021-11-131-0/+15
|
* debug: the `coverage debug` command no longer accepts multiple topicsNed Batchelder2021-11-131-3/+7
|
* feat: 'debug data' now enumerates combinable files alsoNed Batchelder2021-11-131-9/+31
|
* refactor: add_lines only needs an iterable of intsNed Batchelder2021-11-134-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.