Searched refs:getsourcefile (Results 1 – 8 of 8) sorted by relevance
206 with open(inspect.getsourcefile(self.fodderFile)) as fp:294 self.assertEqual(inspect.getsourcefile(mod.spam), modfile)295 self.assertEqual(inspect.getsourcefile(git.abuse), modfile)298 self.assertEqual(inspect.getsourcefile(co), None)300 self.assertEqual(inspect.getsourcefile(co), fn)312 self.assertEqual(inspect.getsourcefile(m.x.func_code), '<string>')
439 def getsourcefile(object): function465 _filename = getsourcefile(object) or getfile(object)526 sourcefile = getsourcefile(object)1008 filename = getsourcefile(frame) or getfile(frame)
896 file = inspect.getsourcefile(obj) or inspect.getfile(obj)
205 srcfile = inspect.getsourcefile(sys.modules[__name__])
853 filename = inspect.getsourcefile(module)
3017 filename = inspect.getsourcefile(module)3157 file = inspect.getsourcefile(module)
421 .. function:: getsourcefile(object)
6068 - Issue #8720: fix regression caused by fix for #4050 by making getsourcefile