Home
last modified time | relevance | path

Searched refs:getlines (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/test/
Dtest_linecache.py68 lines = linecache.getlines(self.file_name)
81 linecache.getlines, self.file_name)
124 empty = linecache.getlines('a/b/c/__init__.py')
131 lines = linecache.getlines(os_helper.TESTFN)
185 lines = linecache.getlines(FILENAME)
188 self.assertEqual(lines, linecache.getlines(FILENAME))
191 lines = linecache.getlines(NONEXISTENT_FILENAME, globals())
198 self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME))
202 lines = linecache.getlines(NONEXISTENT_FILENAME, globals())
204 linecache.getlines(NONEXISTENT_FILENAME)
[all …]
Dtest_inspect.py580 getlines = linecache.getlines
585 return getlines(filename, module_globals)
586 linecache.getlines = monkey
592 linecache.getlines = getlines
/third_party/python/Lib/
Dlinecache.py30 lines = getlines(filename, module_globals)
36 def getlines(filename, module_globals=None): function
Ddoctest.py917 source_lines = linecache.getlines(file, module.__dict__)
921 source_lines = linecache.getlines(file)
1485 self.save_linecache_getlines = linecache.getlines
1486 linecache.getlines = self.__patched_linecache_getlines
1498 linecache.getlines = self.save_linecache_getlines
Dwarnings.py367 linecache.getlines(filename, module_globals)
Dtrace.py270 source = linecache.getlines(filename)
Dinspect.py954 lines = linecache.getlines(file, module.__dict__)
956 lines = linecache.getlines(file)
Dpdb.py1253 lines = linecache.getlines(filename, self.curframe.f_globals)
/third_party/python/Lib/idlelib/idle_test/
Dtest_pyparse.py281 getlines = p.get_num_lines_in_stmt
298 getlines()
303 eq(getlines(), test.lines)