New submission from Andreas Sommer <andreas.somme...@googlemail.com>:
Documentation recommends calling `doctest.testmod()`, but exits with code 0 even if a test fails. ---------- assignee: docs@python components: Documentation messages: 367086 nosy: Andreas Sommer, docs@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 <rep...@bugs.python.org> <https://bugs.python.org/issue40372> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com