summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
Commit message (Collapse)AuthorAgeFilesLines
* test: adapt to latest pylintNed Batchelder2023-02-091-1/+1
|
* style: use good style for annotated defaults parametersNed Batchelder2023-01-051-3/+3
|
* mypy: use __future__ uniformly in checked filesNed Batchelder2023-01-051-0/+2
|
* mypy: test_concurrency.py, test_python.pyNed Batchelder2023-01-031-47/+55
|
* refactor(test): use tmp_path instead of tmpdirNed Batchelder2023-01-031-4/+6
|
* test: greenlet isn't on all versions we test onNed Batchelder2022-12-311-1/+5
|
* refactor: removed mentions of Jython and IronPythonNed Batchelder2022-12-301-14/+2
|
* perf: hash data files during combining to avoid unneeded work. #1483Ned Batchelder2022-11-081-1/+5
| | | | | | | | | When generating many parallel data files, often some data files will be exact copies of each other. Checking the hashes, we can avoid combining the duplicates, speeding the process. On a coverage.py metacov, we had 651 duplicates out of 2189 files (29%). The time to combine was reduced by 17%.
* fix: the SIGTERM handler is now opt-in. #1310Ned Batchelder2022-05-181-3/+10
|
* test: no need to protect against a 3.11.0a4 bug anymoreNed Batchelder2022-03-031-10/+0
|
* fix: provide an intelligible error message for multiprocessing with no ↵Ned Batchelder2022-02-091-0/+4
| | | | config file. #1320
* refactor(test): simplify these testsNed Batchelder2022-02-091-12/+4
|
* test: skip tests on py 3.11.0a4 that are failing in metacovNed Batchelder2022-01-291-0/+10
| | | | | This specific set of circumstances was triggering https://bugs.python.org/issue44088
* test: the sigterm tests have some race conditions, let them re-run if neededNed Batchelder2022-01-231-0/+1
|
* fix: save data on SIGTERM #1307Ned Batchelder2022-01-231-0/+79
| | | | This covers multiprocessing.Process.terminate(), and maybe other cases also.
* 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.
* refactor(test): use a fixture to choose spawn/fork multiprocessing start_methodNed Batchelder2022-01-101-39/+65
|
* style(test): use a consistent name format for test_bug_XXX testsNed Batchelder2022-01-101-1/+1
|
* feat: multiple --concurrency values. #1012 #1082nedbat/multi-concurrencyNed Batchelder2021-11-251-2/+85
|
* 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): convert looping tests to parametrizeNed Batchelder2021-11-111-12/+12
|
* style: convert more string formatting to f-stringsNed Batchelder2021-11-111-4/+4
|
* feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashqNed Batchelder2021-10-261-7/+2
|
* style: prefer explicit string concatenationNed Batchelder2021-10-101-4/+2
|
* test: fix flaky multiprocessing testsNed Batchelder2021-09-291-1/+1
| | | | | Tests are failing because we expect to see three different pids, but only get two. Is that because the work is being completed too quickly?
* feat: `coverage combine` now prints messages naming the files being ↵Ned Batchelder2021-08-051-12/+18
| | | | combined. #1105 (#1208)
* refactor: remove a few more version checksNed Batchelder2021-05-021-12/+2
|
* refactor: pyupgrade --py36-plus tests/**.pyNed Batchelder2021-05-021-7/+7
|
* refactor: move the remaining backward.py code, no more backward.pyNed Batchelder2021-05-011-1/+1
|
* refactor: remove code explicitly choosing between py2 and py3Ned Batchelder2021-05-011-7/+1
|
* Use current_thread instead of currentThread that was deprecated in Python 3.10Karthikeyan Singaravelan2021-04-171-1/+1
|
* refactor: convert all skipping to pytest skipsNed Batchelder2021-02-071-5/+2
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+1
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-15/+16
| | | | One step of moving to pure pytest tests.
* Always output TOTAL line.Judson Neer2021-01-061-2/+2
|
* More bitbucket->github urlsNed Batchelder2020-08-181-2/+1
|
* Use abspath to rc file so that chdir doesn't bork us. #890Ned Batchelder2019-12-231-0/+19
|
* Catch and display expceptions during multiprocessing bootstrap.Ned Batchelder2019-12-231-0/+17
|
* Combine test helpers: remove_filesNed Batchelder2019-12-171-6/+1
|
* run --append --concurrency=multiprocessing didn't use a suffix for the main ↵Ned Batchelder2019-12-171-4/+24
| | | | process. #880
* Make this test more resilientNed Batchelder2019-11-261-2/+1
|
* No need for format indexes (mostly)Ned Batchelder2019-09-011-3/+3
|
* One more line to exclude from coverage measurementNed Batchelder2019-04-301-1/+1
|
* Fix a few capitalizationsNed Batchelder2019-04-281-2/+2
|
* Check for skipping tests before super.setUpNed Batchelder2019-04-211-1/+1
|
* Python 3.8 will optimize away "while True:"Ned Batchelder2018-11-111-1/+1
|
* Do we need more than 10 tries?Ned Batchelder2018-10-151-1/+1
|
* Move line_counts out of the data classesNed Batchelder2018-08-101-1/+2
|
* Make file operations implicit on constructed filenameNed Batchelder2018-07-231-2/+2
|
* Exclude site-packages so vendored code doesn't pollute test resultsNed Batchelder2018-06-281-0/+1
|