diff options
Diffstat (limited to 'Lib/test/sample_doctest_no_doctests.py')
-rw-r--r-- | Lib/test/sample_doctest_no_doctests.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Lib/test/sample_doctest_no_doctests.py b/Lib/test/sample_doctest_no_doctests.py new file mode 100644 index 0000000..7daa572 --- /dev/null +++ b/Lib/test/sample_doctest_no_doctests.py @@ -0,0 +1,15 @@ +"""This is a sample module used for testing doctest. + +This module is for testing how doctest handles a module with docstrings +but no doctest examples. + +""" + + +class Foo(object): + """A docstring with no doctest examples. + + """ + + def __init__(self): + pass |