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 | 112f0747f59452f59c282dfab2aec41d185ec7a9 (patch) | |
tree | 099230db9d7d3d58d961143eaef7d6c86d2e89e5 /tests/test_config.py | |
parent | 7d65536193bd28184d21165b933e1088fbaddff8 (diff) | |
download | python-coveragepy-112f0747f59452f59c282dfab2aec41d185ec7a9.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 93a7bbf..5667e93 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): |