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.py75 _top_level_dir = None variable in TestLoader
271 if top_level_dir is None and self._top_level_dir is not None:
273 top_level_dir = self._top_level_dir
286 self._top_level_dir = top_level_dir
322 self._top_level_dir = \
339 self._top_level_dir = \
365 if path == self._top_level_dir:
369 _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.py32 loader._top_level_dir = '/foo'
83 loader._top_level_dir = top_level
129 loader._top_level_dir = top_level
183 loader._top_level_dir = '/foo'
257 loader._top_level_dir = '/foo'
347 loader._top_level_dir = abspath('/foo')
387 self.assertEqual(loader._top_level_dir, full_path)
409 self.assertEqual(loader._top_level_dir, top_level_dir)