diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-19 17:36:29 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-02-19 17:36:29 -0500 |
commit | 5b3c821cd1633f1e64bebc2e61060677bceb200e (patch) | |
tree | f049190a9dfbc349285fddac60b58c051787f3b4 | |
parent | b99e3c140dbde77389d9e49d9bf6eb77c2983ebe (diff) | |
download | python-coveragepy-git-5b3c821cd1633f1e64bebc2e61060677bceb200e.tar.gz |
Fix english, and give a test a name that isn't a prefix of other names
-rw-r--r-- | tests/test_concurrency.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index 71006042..76e1d9e4 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -335,7 +335,7 @@ MULTI_CODE = """ import sys def process_worker_main(args): - # Need to pause, or the tasks go too quick, and some processes + # Need to pause, or the tasks go too quickly, and some processes # in the pool don't get any work, and then don't record data. time.sleep(0.02) ret = work(*args) @@ -359,7 +359,7 @@ MULTI_CODE = """ """ -@flaky(max_runs=10) # Sometimes a test fails due to inherent randomness. Try one more time. +@flaky(max_runs=10) # Sometimes a test fails due to inherent randomness. Try more times. class MultiprocessingTest(CoverageTest): """Test support of the multiprocessing module.""" @@ -403,7 +403,7 @@ class MultiprocessingTest(CoverageTest): last_line = self.squeezed_lines(out)[-1] self.assertRegex(last_line, r"multi.py \d+ 0 100%") - def test_multiprocessing(self): + def test_multiprocessing_simple(self): nprocs = 3 upto = 30 code = (SQUARE_OR_CUBE_WORK + MULTI_CODE).format(NPROCS=nprocs, UPTO=upto) |