[issue47042] Fix test_html_doc in test_pydoc

2022-03-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It is 3.11 only issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.10, Python 3.9 ___ Python tracker

[issue47042] Fix test_html_doc in test_pydoc

2022-03-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset a5d246066b5352a7d72e70ec0acb643e7c0861fa by Serhiy Storchaka in branch 'main': bpo-47042: Fix testing the HTML output in test_pydoc (GH-31959) https://github.com/python/cpython/commit/a5d246066b5352a7d72e70ec0acb643e7c0861fa --

[issue47042] Fix test_html_doc in test_pydoc

2022-03-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +30048 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31959 ___ Python tracker

[issue47042] Fix test_html_doc in test_pydoc

2022-03-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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