diff options
author | Judson Neer <judson.neer@gmail.com> | 2021-01-05 08:53:19 -0800 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2021-01-06 13:50:13 -0500 |
commit | 051bdf23b5d86a15ada43523c00f8f3462063ad6 (patch) | |
tree | 5a726432bb9793a1fef67bb827402667c6ff5763 /tests/test_concurrency.py | |
parent | 7ff93a9740da5dec4eba6c6cad288d25a472d75a (diff) | |
download | python-coveragepy-git-051bdf23b5d86a15ada43523c00f8f3462063ad6.tar.gz |
Always output TOTAL line.
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 7109f170..2469e296 100644 --- a/tests/test_concurrency.py +++ b/tests/test_concurrency.py @@ -409,7 +409,7 @@ class MultiprocessingTest(CoverageTest): out = self.run_command("coverage report -m") last_line = self.squeezed_lines(out)[-1] - self.assertRegex(last_line, r"multi.py \d+ 0 100%") + self.assertRegex(last_line, r"TOTAL \d+ 0 100%") def test_multiprocessing_simple(self): nprocs = 3 @@ -466,7 +466,7 @@ class MultiprocessingTest(CoverageTest): out = self.run_command("coverage report -m") last_line = self.squeezed_lines(out)[-1] - self.assertRegex(last_line, r"multi.py \d+ 0 \d+ 0 100%") + self.assertRegex(last_line, r"TOTAL \d+ 0 \d+ 0 100%") def test_multiprocessing_with_branching(self): nprocs = 3 |