Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
Dloader.py209 full_path = os.path.abspath(module.__file__)
211 if os.path.basename(full_path).lower().startswith('__init__.py'):
212 return os.path.dirname(os.path.dirname(full_path))
217 return os.path.dirname(full_path)
233 def _match_path(self, path, full_path, pattern): argument
242 full_path = os.path.join(start_dir, path)
243 if os.path.isfile(full_path):
247 if not self._match_path(path, full_path, pattern):
250 name = self._get_name_from_path(full_path)
256 mod_file = os.path.abspath(getattr(module, '__file__', full_path))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
Dtest_discovery.py149 full_path = os.path.abspath(os.path.normpath('/foo'))
153 self.assertEqual(loader._top_level_dir, full_path)
154 self.assertIn(full_path, sys.path)
307 full_path = os.path.abspath('foo')
317 if full_path in sys.path:
318 sys.path.remove(full_path)
341 self.assertEqual(sys.path[0], full_path)