autotestdict_skip.pyx 302 Bytes
Newer Older
1
#cython: autotestdict=True
Dag Sverre Seljebotn's avatar
Dag Sverre Seljebotn committed
2
"""
3
Tests that autotestdict doesn't come into effect when
Dag Sverre Seljebotn's avatar
Dag Sverre Seljebotn committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
a __test__ is defined manually.

If this doesn't work, then the function doctest should fail.

>>> True
True
"""


def func():
    """
    >>> True
    False
    """

__test__ = {
    u"one" : """
>>> True
True
"""
}