Lines Matching refs:modfile
54 modfile = mod.__file__
55 if modfile.endswith(('c', 'o')):
56 modfile = modfile[:-1]
60 modfile = normcase(modfile)
382 (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0))
386 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
390 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
394 (modfile, 39, 'abuse', [' self.argue(a, b, c)\n'], 0))
409 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
412 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
415 (modfile, 18, 'eggs', [' q = y / 0\n'], 0))
565 self.assertEqual(inspect.getmodule(None, modfile), mod)
587 self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile)
588 self.assertEqual(normcase(inspect.getsourcefile(git.abuse)), modfile)