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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 0a51d4d9..2c827760 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -484,9 +484,13 @@ class MultiprocessingTest(CoverageTest):
out_lines = out.splitlines()
assert len(out_lines) == nprocs + 1
assert all(
- re.fullmatch(r"Combined data file \.coverage\..*\.\d+\.\d+", line)
+ re.fullmatch(
+ r"(Combined data file|Skipping duplicate data) \.coverage\..*\.\d+\.\d+",
+ line
+ )
for line in out_lines
)
+ assert len(glob.glob(".coverage.*")) == 0
out = self.run_command("coverage report -m")
last_line = self.squeezed_lines(out)[-1]