diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-10-02 13:49:47 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-10-02 16:15:03 -0400 |
commit | 484e3639deabeccd4bbb3c2183e0e6c0f9407057 (patch) | |
tree | 1ad95727dc4303b2358fb6a3e3b8184a80b8d7b0 /tests | |
parent | 079b6d8f145f50918461a4568d9a961e1eb38024 (diff) | |
download | python-coveragepy-git-484e3639deabeccd4bbb3c2183e0e6c0f9407057.tar.gz |
Context patterns are regexes, not globs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_html.py b/tests/test_html.py index d30279a5..36bfad08 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -1099,7 +1099,7 @@ class HtmlWithContextsTest(HtmlTestHelpers, CoverageTest): cov = coverage.Coverage(source=["."]) cov.set_option("run:dynamic_context", "test_function") cov.set_option("html:show_contexts", True) - cov.set_option("report:contexts", ["*test_one*"]) + cov.set_option("report:contexts", ["test_one"]) mod = self.start_import_stop(cov, "two_tests") d = html_data_from_cov(cov, mod) |