Lines Matching full:foo*
43 >>> def test_function(foo, bar):
48 ... 'foo',
56 (Pdb) foo
72 >>> def test_function_2(foo, bar='default'):
73 ... print(foo)
81 ... return foo.upper()
103 ... 'next', # stepping to print(foo)
126 -> def test_function_2(foo, bar='default'):
128 foo = 'baz'
131 1 -> def test_function_2(foo, bar='default'):
132 2 print(foo)
140 10 return foo.upper()
149 -> def test_function_2(foo, bar='default'):
155 -> def test_function_2(foo, bar='default'):
158 -> print(foo)
186 -> return foo.upper()
443 >>> def test_function_2(foo):
457 ... return foo
475 ... 'source fooxxx', # something that doesn't exit
489 -> def test_function_2(foo):
491 1 -> def test_function_2(foo):
506 15 return foo
509 1 -> def test_function_2(foo):
530 (Pdb) source fooxxx
795 ... string.capwords('FOO')
803 -> string.capwords('FOO')
807 -> string.capwords('FOO')
814 exec('def foo_pony(callback): x = 1; callback(); return None', mod.__dict__)
824 ... mod.foo_pony(callback)
837 -> mod.foo_pony(callback)
852 -> mod.foo_pony(callback)
1761 self._assert_find_function(b'', 'foo', None)
1766 def foo():
1783 def foo():
1846 def foo():
1852 def foobar():
1853 foo()
1856 foobar()
1875 any('main.py(5)foo()->None' in l for l in stdout.splitlines()),
2250 '''When running `python foo.py` sys.path[0] is an absolute path. `python -m pdb foo.py` should behave the same'''
2266 '''When running `python foo.py` sys.path[0] resolves symlinks. `python -m pdb foo.py` should behave the same'''
2280 with open(os.path.join(dir_one, 'foo.py'), 'w') as f:
2283 os.symlink(os.path.join(dir_one, 'foo.py'), os.path.join(dir_two, 'foo.py'))
2285 stdout, stderr = self._run_pdb([os.path.join('dir_two', 'foo.py')], commands)
2291 with open('foo.py', 'w') as f:
2303 wrong_file = os.path.join(subdir, 'foo.py')
2308 stdout, stderr = self._run_pdb(['foo.py'], 'c\nc\nq')