]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-47042: Fix testing the HTML output in test_pydoc (GH-31959)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 17 Mar 2022 16:32:53 +0000 (18:32 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Mar 2022 16:32:53 +0000 (18:32 +0200)
commita5d246066b5352a7d72e70ec0acb643e7c0861fa
treed1a67e22563a9c431d1ed0eaf9a9705b81996a05
parent3011a097bd9500c007bd8b8d005edeea895f6b44
bpo-47042: Fix testing the HTML output in test_pydoc (GH-31959)

Previously it tested that that the actual output contains every non-whitespace
character from the expected output (ignoring order and repetitions).

Now it will test that the actual output contains the same lines as the expected
output, in the same order, ignoring indentation and empty lines.
Lib/test/test_pydoc.py