Searched refs:_get_revised_path (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
D | test_pydoc.py | 1519 def _get_revised_path(self, given_path, argv0=None): member in TestInternalUtilities 1524 return pydoc._get_revised_path(given_path, argv0) 1537 self.assertEqual(self._get_revised_path(clean_path), expected_path) 1543 self.assertEqual(self._get_revised_path(leading_argv0dir), expected_path) 1545 self.assertEqual(self._get_revised_path(trailing_argv0dir), expected_path) 1549 def _get_revised_path(given_path): function 1550 return self._get_revised_path(given_path, argv0=pydoc.__file__) 1554 self.assertEqual(_get_revised_path(leading_argv0dir), expected_path) 1557 self.assertEqual(_get_revised_path(trailing_argv0dir), expected_path) 1565 self.assertIsNone(self._get_revised_path(leading_curdir)) [all …]
|
/third_party/python/Lib/ |
D | pydoc.py | 2714 def _get_revised_path(given_path, argv0): function 2747 revised_path = _get_revised_path(sys.path, sys.argv[0])
|