[New-bugs-announce] [issue40372] doctest example programs should exit 1 if any test fails
Andreas Sommer
report at bugs.python.org
Thu Apr 23 04:16:12 EDT 2020
New submission from Andreas Sommer <andreas.sommer87 at googlemail.com>:
Documentation recommends calling `doctest.testmod()`, but exits with code 0 even if a test fails.
----------
assignee: docs at python
components: Documentation
messages: 367086
nosy: Andreas Sommer, docs at python
priority: normal
severity: normal
status: open
title: doctest example programs should exit 1 if any test fails
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40372>
_______________________________________
More information about the New-bugs-announce
mailing list