Lines Matching full:path
11 from os.path import normcase
59 # modules depends on the path used to start the python executable.
874 with open(os.path.join(self.tempdir, 'inspect_fodder3%spy' % os.extsep),
1012 args_e=['path'],
1592 code = """def f(): print(path)"""
1600 expected = inspect.ClosureVars({}, {}, {"print":print}, {"path"})
1605 ns["__builtins__"] = {"path":1}
1606 expected = inspect.ClosureVars({}, {}, {"path":1}, {"print"})
1612 expected = inspect.ClosureVars({}, {}, {"path":os.path}, {"print"})
4222 "($module, /, path, mode, *, dir_fd=None, " +
4224 "(module, path, mode, *, dir_fd=None, " +
4498 def assertInspectEqual(self, path, source):
4500 with open(path, encoding='utf-8') as src:
4508 with _ready_to_import('reload_bug', self.src_before) as (name, path):
4510 self.assertInspectEqual(path, module)
4511 with open(path, 'w', encoding='utf-8') as src:
4513 self.assertInspectEqual(path, module)