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.

classification
Title: doctest example programs should exit 1 if any test fails
Type: enhancement Stage: patch review
Components: Documentation Versions: Python 3.9, Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: tim.peters Nosy List: AndiDog, docs@python, python-dev, remi.lapeyre, tim.peters
Priority: normal Keywords: patch

Created on 2020-04-23 08:16 by AndiDog, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 19673 open python-dev, 2020-04-23 08:19
Messages (1)
msg367086 - (view) Author: Andreas Sommer (AndiDog) * Date: 2020-04-23 08:16
Documentation recommends calling `doctest.testmod()`, but exits with code 0 even if a test fails.
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84552
2020-05-24 12:25:35rhettingersetassignee: docs@python -> tim.peters
2020-04-26 16:48:14remi.lapeyresetnosy: + tim.peters, remi.lapeyre

versions: - Python 2.7, Python 3.5, Python 3.6
2020-04-23 08:19:53python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request18997
stage: patch review
2020-04-23 08:16:12AndiDogcreate