summaryrefslogtreecommitdiff
path: root/tests/test_concurrency.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-26 19:07:03 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-26 19:17:19 -0400
commit93c9ca9f1b2e5d0b45dbf4b82c77aaf05b458bac (patch)
tree6b0e1cc009da5e33ca87e8fb096704b27afe1a8f /tests/test_concurrency.py
parent18cf3b897d4b1e1a66beda180ec151cc0dd4dbc3 (diff)
downloadpython-coveragepy-git-93c9ca9f1b2e5d0b45dbf4b82c77aaf05b458bac.tar.gz
feat: xml and json say what they are doing, and -q quiets everything. #1254nedbat/dashq
Diffstat (limited to 'tests/test_concurrency.py')
-rw-r--r--tests/test_concurrency.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/test_concurrency.py b/tests/test_concurrency.py
index 696b12eb..c39b0163 100644
--- a/tests/test_concurrency.py
+++ b/tests/test_concurrency.py
@@ -450,13 +450,8 @@ class MultiprocessingTest(CoverageTest):
out = self.run_command(f"coverage run --rcfile=multi.rc multi.py {start_method}")
assert out.rstrip() == expected_out
- out = self.run_command("coverage combine")
- out_lines = out.splitlines()
- assert len(out_lines) == nprocs + 1
- assert all(
- re.fullmatch(r"Combined data file \.coverage\..*\.\d+\.\d+", line)
- for line in out_lines
- )
+ out = self.run_command("coverage combine -q") # sneak in a test of -q
+ assert out == ""
out = self.run_command("coverage report -m")
last_line = self.squeezed_lines(out)[-1]