diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-08-31 16:10:11 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-09-02 09:36:13 -0400 |
commit | fcf665bb4db940dc36d036bb09cbda0bb1ac39af (patch) | |
tree | ae296f636c8bd9c4ac449e10216f5174f2175a38 /tests/test_api.py | |
parent | 206f13aa721ed166bdb0f9e2f91e640e27201d71 (diff) | |
download | python-coveragepy-git-fcf665bb4db940dc36d036bb09cbda0bb1ac39af.tar.gz |
SQLite on windows has slightly different messages
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 4d6ba929..b44a5d34 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -375,7 +375,7 @@ class ApiTest(CoverageTest): r"Couldn't read data from '.*\.coverage\.foo': " r"CoverageException: Doesn't seem to be a coverage\.py data file" r"|" # SQL message: - r"Couldn't use data file '.*\.coverage\.foo': file is encrypted or is not a database" + r"Couldn't use data file '.*\.coverage\.foo': file (is encrypted or )?is not a database" r")" ) with self.assert_warnings(cov, [warning_regex]): |