diff options
Diffstat (limited to 'lib/python2.7/test/sample_doctest_no_doctests.py')
-rw-r--r-- | lib/python2.7/test/sample_doctest_no_doctests.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/python2.7/test/sample_doctest_no_doctests.py b/lib/python2.7/test/sample_doctest_no_doctests.py new file mode 100644 index 0000000..7daa572 --- /dev/null +++ b/lib/python2.7/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 |