]> granicus.if.org Git - python/commit
#14649: clarify DocTestSuite error when there are no docstrings.
authorR David Murray <rdmurray@bitdance.com>
Mon, 10 Sep 2012 14:15:58 +0000 (10:15 -0400)
committerR David Murray <rdmurray@bitdance.com>
Mon, 10 Sep 2012 14:15:58 +0000 (10:15 -0400)
commit5abd76a75d633a1ba6f5fcc66b0bc4799b9e2eaa
treef5f595962bd537e345bb6b567e8bc3cd6a14418e
parent01beb69c7dacc0a59acd568239322716da6e55d0
#14649: clarify DocTestSuite error when there are no docstrings.

Also adds tests to verify the documented behavior (which is probably a bug, as
indicated in the added comments).

Patch by Chris Jerdonek.
Doc/library/doctest.rst
Lib/doctest.py
Lib/test/sample_doctest_no_docstrings.py [new file with mode: 0644]
Lib/test/sample_doctest_no_doctests.py [new file with mode: 0644]
Lib/test/test_doctest.py
Lib/test/test_zipimport_support.py