mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-108303: Move all doctest related files and tests to Lib/test/test_doctest/
(#112109)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
2ff072f21f
commit
9c93350f58
18 changed files with 153 additions and 117 deletions
12
Lib/test/test_doctest/sample_doctest_no_docstrings.py
Normal file
12
Lib/test/test_doctest/sample_doctest_no_docstrings.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
# This is a sample module used for testing doctest.
|
||||
#
|
||||
# This module is for testing how doctest handles a module with no
|
||||
# docstrings.
|
||||
|
||||
|
||||
class Foo(object):
|
||||
|
||||
# A class with no docstring.
|
||||
|
||||
def __init__(self):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue