Lines Matching refs:def
17 def sample_func(v):
44 def __init__(self, val):
51 def double(self):
58 def get(self):
65 def a_staticmethod(v):
73 def a_classmethod(cls, v):
95 def __init__(self, val=0):
101 def square(self):
103 def get(self):
113 def __init__(self, val):
120 def double(self):
127 def get(self):
145 def __init__(self, lines):
148 def readline(self):
157 def test_Example(): r"""
278 def test_DocTest(): r"""
411 def test_DocTestFinder(): r"""
452 >>> def no_docstring(v):
461 >>> def no_docstring(v):
472 >>> def no_examples(v):
516 >>> def triple(val):
627 >>> def f(x):
648 def test_DocTestParser(): r"""
704 def basics(): r"""
710 >>> def f(x):
731 >>> def f(x):
765 def verbose_flag(): r"""
769 >>> def f(x):
832 def exceptions(): r"""
839 >>> def f(x):
855 >>> def f(x):
877 >>> def f(x):
892 >>> def f(x):
917 >>> def f(x):
931 >>> def f(x):
958 >>> def f(x):
972 >>> def f(x):
987 >>> def f(x):
1000 >>> def f(x):
1025 >>> def f(x):
1043 def displayhook(): r"""
1048 >>> def my_displayhook(x):
1051 >>> def f():
1072 def optionflags(): r"""
1083 >>> def f(x):
1109 >>> def f(x):
1139 >>> def f(x):
1171 >>> def f(x):
1237 >>> def f(x):
1334 >>> def f(x):
1357 >>> def f(x):
1410 >>> def f(x):
1458 def option_directives(): r"""
1465 >>> def f(x): r'''
1488 >>> def f(x): r'''
1513 >>> def f(x): r'''
1547 >>> def f(x): r'''
1567 >>> def f(x): r'''
1587 >>> def f(x): r'''
1610 >>> def f(x): r'''
1622 >>> def f(x): r'''
1638 >>> def f(x): r'''
1675 def test_unicode_output(self): r"""
1700 def test_testsource(): r"""
1740 def test_debug(): r"""
1771 def test_pdb_set_trace():
1814 >>> def calls_set_trace():
1852 ... >>> def f(x):
1854 ... >>> def g(x):
1876 1 def g(x):
1885 1 def f(x):
1906 def test_pdb_set_trace_nested():
1910 ... def calls_set_trace(self):
1915 ... def f1(self):
1919 ... def f2(self):
1953 -> def f1(self):
1963 -> def f2(self):
1991 def test_DocTestSuite():
2066 >>> def setUp(t):
2070 >>> def tearDown(t):
2092 >>> def setUp(test):
2105 def test_DocFileSuite():
2210 >>> def setUp(t):
2214 >>> def tearDown(t):
2239 >>> def setUp(test):
2271 def test_trailing_space_in_test():
2281 def test_unittest_reportflags():
2356 def test_testfile(): r"""
2549 def old_test1(): r"""
2586 def old_test2(): r"""
2610 def old_test3(): r"""
2613 >>> def _f():
2623 def old_test4(): """
2628 ... def _f():
2631 ... def g():
2637 ... def bar(self):
2669 def test_main():
2687 def test_coverage(coverdir):