diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-05-27 17:49:52 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-05-27 17:49:52 -0400 |
commit | eb030a4d6c3259c9933125cbe92974cd1b2b3856 (patch) | |
tree | 707e5f8922ddffc03b66672f644bfbdbf370e4a1 | |
parent | a870fe9a5ab282a07380afb2ba83d61e103e2ba6 (diff) | |
download | python-coveragepy-git-eb030a4d6c3259c9933125cbe92974cd1b2b3856.tar.gz |
Python 3.5 changed some of the regex error messages
-rw-r--r-- | tests/test_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 58615f6c..d375830b 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -99,10 +99,10 @@ class ConfigTest(CoverageTest): ("[run\n", r"\[run"), ("[report]\nexclude_lines = foo(\n", r"Invalid \[report\].exclude_lines value 'foo\(': " - r"unbalanced parenthesis"), + r"(unbalanced parenthesis|missing \))"), ("[report]\npartial_branches = foo[\n", r"Invalid \[report\].partial_branches value 'foo\[': " - r"unexpected end of regular expression"), + r"(unexpected end of regular expression|unterminated character set)"), ("[report]\npartial_branches_always = foo***\n", r"Invalid \[report\].partial_branches_always value " r"'foo\*\*\*': " |