diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2018-01-28 07:27:40 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-01-28 07:27:40 -0500 |
| commit | af9fabe0a2a4815dd797a912df22b21d2a629482 (patch) | |
| tree | 409ce2d0b7de944ae9efedf73f0fda82482f64ba | |
| parent | 49a3a2830e21f7a474c9165c1ef8727b23d8caf1 (diff) | |
| download | python-coveragepy-af9fabe0a2a4815dd797a912df22b21d2a629482.tar.gz | |
Remove two unused names
| -rw-r--r-- | tests/test_concurrency.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py index f7ebf53..7100604 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -525,11 +525,11 @@ def test_thread_safe_save_data(tmpdir): # results right after stopping coverage collection with the threads # still running. duration = 0.01 - for i in range(3): + for _ in range(3): cov = coverage.coverage() cov.start() - threads = [threading.Thread(target=random_load) for i in range(10)] + threads = [threading.Thread(target=random_load) for _ in range(10)] should_run[0] = True for t in threads: t.start() |
