Lines Matching refs:modfile
47 modfile = mod.__file__ variable
48 if modfile.endswith(('c', 'o')):
49 modfile = modfile[:-1] variable
53 modfile = normcase(modfile) variable
295 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
297 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
299 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
301 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
314 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
316 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
318 (modfile, 18, 'eggs', [' q = y / 0\n'], 0))
454 self.assertEqual(inspect.getmodule(None, modfile), mod)
467 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile)
468 self.assertEqual(normcase(inspect.getsourcefile(git.abuse)), modfile)