Searched refs:getlines (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_linecache.py | 67 lines = linecache.getlines(self.file_name) 80 linecache.getlines, self.file_name) 123 empty = linecache.getlines('a/b/c/__init__.py') 130 lines = linecache.getlines(support.TESTFN) 184 lines = linecache.getlines(FILENAME) 187 self.assertEqual(lines, linecache.getlines(FILENAME)) 190 lines = linecache.getlines(NONEXISTENT_FILENAME, globals()) 197 self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME)) 201 lines = linecache.getlines(NONEXISTENT_FILENAME, globals()) 203 linecache.getlines(NONEXISTENT_FILENAME) [all …]
|
D | test_inspect.py | 566 getlines = linecache.getlines 571 return getlines(filename, module_globals) 572 linecache.getlines = monkey 578 linecache.getlines = getlines
|
/external/python/cpython2/Lib/test/ |
D | test_linecache.py | 68 empty = linecache.getlines('a/b/c/__init__.py') 75 lines = linecache.getlines(support.TESTFN) 128 lines = linecache.getlines(FILENAME) 133 lines2 = linecache.getlines(FILENAME) 138 lines3 = linecache.getlines(FILENAME) 140 self.assertEqual(linecache.getlines(FILENAME), lines)
|
D | test_inspect.py | 320 getlines = linecache.getlines 325 return getlines(filename, module_globals) 326 linecache.getlines = monkey 332 linecache.getlines = getlines
|
/external/python/cffi/testing/cffi1/ |
D | test_commontypes.py | 5 def getlines(): function 16 lines = getlines() 21 lines = getlines()
|
/external/python/cpython2/Lib/ |
D | linecache.py | 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): function
|
D | doctest.py | 901 source_lines = linecache.getlines(file, module.__dict__) 905 source_lines = linecache.getlines(file) 1446 self.save_linecache_getlines = linecache.getlines 1447 linecache.getlines = self.__patched_linecache_getlines 1458 linecache.getlines = self.save_linecache_getlines
|
D | inspect.py | 533 lines = linecache.getlines(file, module.__dict__) 535 lines = linecache.getlines(file)
|
D | warnings.py | 273 linecache.getlines(filename, module_globals)
|
D | trace.py | 332 source = linecache.getlines(filename)
|
/external/python/cpython3/Lib/ |
D | linecache.py | 16 lines = getlines(filename, module_globals) 37 def getlines(filename, module_globals=None): function
|
D | doctest.py | 909 source_lines = linecache.getlines(file, module.__dict__) 913 source_lines = linecache.getlines(file) 1468 self.save_linecache_getlines = linecache.getlines 1469 linecache.getlines = self.__patched_linecache_getlines 1481 linecache.getlines = self.save_linecache_getlines
|
D | warnings.py | 371 linecache.getlines(filename, module_globals)
|
D | trace.py | 269 source = linecache.getlines(filename)
|
D | inspect.py | 794 lines = linecache.getlines(file, module.__dict__) 796 lines = linecache.getlines(file)
|
D | pdb.py | 1242 lines = linecache.getlines(filename, self.curframe.f_globals)
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_pyparse.py | 264 getlines = p.get_num_lines_in_stmt 281 getlines() 286 eq(getlines(), test.lines)
|