diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-27 15:09:56 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-27 15:09:56 -0400 |
commit | 1ca7c5b8bc6edf785ef0af2adfd9bc9b82f70cd4 (patch) | |
tree | ac501d1068b68a57f8cd09bb5ea79b76ce082794 /tests/test_html.py | |
parent | 9312de1b5c0730a65bd5ecd35a3d085b19a20fa6 (diff) | |
download | python-coveragepy-git-1ca7c5b8bc6edf785ef0af2adfd9bc9b82f70cd4.tar.gz |
Lose a little less information when scrubbing HTML
Diffstat (limited to 'tests/test_html.py')
-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 1c1f6857..bcc5f8bf 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -572,7 +572,7 @@ def compare_html(dir1, dir2): (r'coverage.py v[\d.abc]+', 'coverage.py vVER'), (r'created at \d\d\d\d-\d\d-\d\d \d\d:\d\d', 'created at DATE'), # Some words are identifiers in one version, keywords in another. - (r'<span class="(nam|key)">(print|True|False)</span>', '<span class="nam">XXX</span>'), + (r'<span class="(nam|key)">(print|True|False)</span>', r'<span class="nam">\2</span>'), # Occasionally an absolute path is in the HTML report. (TESTS_DIR, 'TESTS_DIR'), (r'/Users/ned/coverage/trunk/tests', 'TESTS_DIR'), |