Make HTML column sorting consistent across index pages (fix #1766) by devdanzin · Pull Request #1768 · nedbat/coveragepy (original) (raw)

I think I like this as a way to fix the scrubbing of Windows-generated gold files:

diff --git a/tests/test_html.py b/tests/test_html.py index c4f7870d..1a8c71f9 100644 --- a/tests/test_html.py +++ b/tests/test_html.py @@ -709,14 +709,9 @@ def compare_html( (filepath_to_regex(abs_file(os.getcwd())), 'TEST_TMPDIR'), (filepath_to_regex(flat_rootname(str(abs_file(os.getcwd())))), '_TEST_TMPDIR'), (r'/private/var/[\w/]+/pytest-of-\w+/pytest-\d+/(popen-gw\d+/)?t\d+', 'TEST_TMPDIR'),