summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-05-27 17:49:52 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-05-27 17:49:52 -0400
commiteb030a4d6c3259c9933125cbe92974cd1b2b3856 (patch)
tree707e5f8922ddffc03b66672f644bfbdbf370e4a1
parenta870fe9a5ab282a07380afb2ba83d61e103e2ba6 (diff)
downloadpython-coveragepy-git-eb030a4d6c3259c9933125cbe92974cd1b2b3856.tar.gz
Python 3.5 changed some of the regex error messages
-rw-r--r--tests/test_config.py4
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\*\*\*': "