summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 9d777afe..a397ea99 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -487,11 +487,10 @@ def test_coverage_stop_in_threads():
time.sleep(0.1) # pragma: nested
cov.stop() # pragma: nested
- time.sleep(0.1)
+ t.join()
assert has_started_coverage == [t.ident]
assert has_stopped_coverage == [t.ident]
- t.join()
def test_thread_safe_save_data(tmpdir):