summaryrefslogtreecommitdiff
path: root/tests/test_process.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index 4a1e6348..29fbfb35 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -130,13 +130,8 @@ class ProcessTest(CoverageTest):
self.assert_exists(".coverage")
self.assert_exists(".coverage.bad")
warning_regex = (
- r"(" # JSON message:
- r"Coverage.py warning: Couldn't read data from '.*\.coverage\.bad': "
- r"CoverageException: Doesn't seem to be a coverage\.py data file"
- r"|" # SQL message:
r"Coverage.py warning: Couldn't use data file '.*\.coverage\.bad': "
r"file (is encrypted or )?is not a database"
- r")"
)
self.assertRegex(out, warning_regex)
@@ -168,13 +163,8 @@ class ProcessTest(CoverageTest):
for n in "12":
self.assert_exists(".coverage.bad{}".format(n))
warning_regex = (
- r"(" # JSON message:
- r"Coverage.py warning: Couldn't read data from '.*\.coverage\.bad{0}': "
- r"CoverageException: Doesn't seem to be a coverage\.py data file"
- r"|" # SQL message:
r"Coverage.py warning: Couldn't use data file '.*\.coverage.bad{0}': "
r"file (is encrypted or )?is not a database"
- r")"
.format(n)
)
self.assertRegex(out, warning_regex)