Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/unittest/
Dloader.py46 _top_level_dir = None variable in TestLoader
167 if top_level_dir is None and self._top_level_dir is not None:
169 top_level_dir = self._top_level_dir
182 self._top_level_dir = top_level_dir
200 self._top_level_dir = self._get_directory_containing_module(top_part)
224 _relpath = os.path.relpath(path, self._top_level_dir)
/external/python/cpython3/Lib/unittest/
Dloader.py74 _top_level_dir = None variable in TestLoader
263 if top_level_dir is None and self._top_level_dir is not None:
265 top_level_dir = self._top_level_dir
278 self._top_level_dir = top_level_dir
314 self._top_level_dir = \
331 self._top_level_dir = \
357 if path == self._top_level_dir:
361 _relpath = os.path.relpath(path, self._top_level_dir)
/external/python/cpython2/Lib/unittest/test/
Dtest_discovery.py15 loader._top_level_dir = '/foo'
60 loader._top_level_dir = top_level
119 loader._top_level_dir = '/foo'
154 self.assertEqual(loader._top_level_dir, full_path)
176 self.assertEqual(loader._top_level_dir, top_level_dir)
/external/python/cpython3/Lib/unittest/test/
Dtest_discovery.py31 loader._top_level_dir = '/foo'
82 loader._top_level_dir = top_level
128 loader._top_level_dir = top_level
182 loader._top_level_dir = '/foo'
256 loader._top_level_dir = '/foo'
346 loader._top_level_dir = abspath('/foo')
386 self.assertEqual(loader._top_level_dir, full_path)
408 self.assertEqual(loader._top_level_dir, top_level_dir)