Message170165
I am attaching an updated version of the patch for feedback.
The latest version of the patch I developed and used in the real-world example of fixing both the module and documentation file doctests for the ipaddress module (and its HOWTO) in issue 15888.
The patch includes the following additional features:
(1) the user is warned if a user-selected test file contains no tests
(2) tests to run can be specified using one or more globs (e.g. fdoc:howto*)
(3) the doc directory can be specified relatively (e.g. --docdir Doc)
(4) passing --docall adds all doctests to the test run selection
(5) passing --docunsafe runs doctests for all selected tests, whether or not the test files are marked "doctest safe"
The patch also includes usage documentation towards the beginning. |
|
Date |
User |
Action |
Args |
2012-09-10 08:05:18 | chris.jerdonek | set | recipients:
+ chris.jerdonek, brett.cannon, georg.brandl, terry.reedy, ezio.melotti, eric.araujo, v+python, r.david.murray, eli.bendersky, asvetlov, docs@python, sbt |
2012-09-10 08:05:17 | chris.jerdonek | set | messageid: <1347264317.42.0.826696474506.issue15629@psf.upfronthosting.co.za> |
2012-09-10 08:05:16 | chris.jerdonek | link | issue15629 messages |
2012-09-10 08:05:16 | chris.jerdonek | create | |
|