1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# Licensed under a 3-clause BSD style license - see LICENSE.rst
# Skip all tests in this file since they'll all fail
__doctest_skip__ = ['*']
def bad_doctest():
"""
This test will fail if __doctest_skip__ is not working properly.
>>> x + y
5
"""
def another_bad_doctest():
"""
This test will fail if __doctest_skip__ is not working properly.
>>> import foobar
>>> foobar.baz()
5
"""
def yet_another_bad_doctest():
"""
This test will fail if __doctest_skip__ is not working properly.
>>> NOT VALID PYTHON, RIGHT
>>> + 7
42
"""
|