Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_linecache.py12 NONEXISTENT_FILENAME = FILENAME + '.missing' variable
190 lines = linecache.getlines(NONEXISTENT_FILENAME, globals())
193 True, linecache.lazycache(NONEXISTENT_FILENAME, globals()))
194 self.assertEqual(1, len(linecache.cache[NONEXISTENT_FILENAME]))
197 self.assertEqual(lines, linecache.getlines(NONEXISTENT_FILENAME))
201 lines = linecache.getlines(NONEXISTENT_FILENAME, globals())
203 linecache.getlines(NONEXISTENT_FILENAME)
204 linecache.lazycache(NONEXISTENT_FILENAME, globals())
205 self.assertEqual(lines, linecache.updatecache(NONEXISTENT_FILENAME))
209 linecache.lazycache(NONEXISTENT_FILENAME, globals())
[all …]