diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2015-12-24 11:11:37 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2015-12-24 11:11:37 -0500 |
commit | 26a49dc5ccb6465a3cdd7a2346c530ce4f88b0dd (patch) | |
tree | 4a3e56f20c0ec65c7baa6fdcfb0883a8fdf5653d /tests/test_config.py | |
parent | 3ff583872ebb4069e8e6e2fa5b7b947acab42a1e (diff) | |
download | python-coveragepy-git-26a49dc5ccb6465a3cdd7a2346c530ce4f88b0dd.tar.gz |
Non-ascii characters work again in config regexes. Fixes #455.
Diffstat (limited to 'tests/test_config.py')
-rw-r--r-- | tests/test_config.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_config.py b/tests/test_config.py index 93a7bbf6..5667e930 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -379,11 +379,18 @@ class ConfigFileTest(CoverageTest): def test_non_ascii(self): self.make_file(".coveragerc", """\ + [report] + exclude_lines = + first + ✘${TOX_ENVNAME} + third [html] title = tabblo & «ταБЬℓσ» # numbers """) + self.set_environ("TOX_ENVNAME", "weirdo") cov = coverage.Coverage() + self.assertEqual(cov.config.exclude_list, ["first", "✘weirdo", "third"]) self.assertEqual(cov.config.html_title, "tabblo & «ταБЬℓσ» # numbers") def test_unreadable_config(self): |