diff options
Diffstat (limited to 'tests/test_concurrency.py')
-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 f7ebf535..71006042 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() |