[issue8564] Update documentation on doctest/unittest2 integration
New submission from Peter Fein <pfein@pobox.com>: The documentation on integrating doctests in a file of unittests is confusing and out of date. This patch updates the documentation to use unittest2 test discovery. ---------- assignee: docs@python components: Documentation files: doctest_unittest_integration_doc.diff keywords: patch messages: 104468 nosy: docs@python, pfein priority: normal severity: normal status: open title: Update documentation on doctest/unittest2 integration versions: Python 2.7, Python 3.3 Added file: http://bugs.python.org/file17123/doctest_unittest_integration_doc.diff _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Peter Fein <pfein@pobox.com> added the comment: See http://lists.idyll.org/pipermail/testing-in-python/2010-April/003039.html for discussion ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Michael Foord <michael@voidspace.org.uk> added the comment: Looks like a good addition to the documentation to me. ---------- nosy: +michael.foord _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Changes by holger krekel <holger.krekel@gmail.com>: ---------- nosy: +hpk _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Éric Araujo <merwok@netwok.org> added the comment: I can’t tell if the code is correct (we can trust Michael about that), but the wording and the content are ok for me. ---------- nosy: +merwok _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Georg Brandl <georg@python.org> added the comment: Applied in r82764. Thanks! ---------- nosy: +georg.brandl resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
Changes by Éric Araujo <merwok@netwok.org>: ---------- stage: -> committed/rejected _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8564> _______________________________________
participants (5)
-
Georg Brandl
-
holger krekel
-
Michael Foord
-
Peter Fein
-
Éric Araujo