This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka
Date 2022-03-17.10:57:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647514630.11.0.12702662455.issue47042@roundup.psfhosted.org>
In-reply-to
Content
Due to missed splitlines() in test_pydoc the HTML output was not tested correctly. Instead of testing that the actual output contains every *line* from the expected output it tested that the actual output contains every *character* from the expected output. The test would pass with any actual output which contains all Latin letters and some punctuation.

The following PR fixes this bug and makes the test even more strict. Now it tests that the actual output contains the same lines as the expected output, in the same order, ignoring indentation and empty lines.
History
Date User Action Args
2022-03-17 10:57:10serhiy.storchakasetrecipients: + serhiy.storchaka
2022-03-17 10:57:10serhiy.storchakasetmessageid: <1647514630.11.0.12702662455.issue47042@roundup.psfhosted.org>
2022-03-17 10:57:10serhiy.storchakalinkissue47042 messages
2022-03-17 10:57:09serhiy.storchakacreate