mirror of https://github.com/python/cpython
#14649: add sample files omitted from previous checkin.
This commit is contained in:
parent
f6cdd35bc7
commit
4709ac14ff
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue