Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_pydoc.py1523 def _get_revised_path(self, given_path, argv0=None): member in TestInternalUtilities
1528 return pydoc._get_revised_path(given_path, argv0)
1541 self.assertEqual(self._get_revised_path(clean_path), expected_path)
1547 self.assertEqual(self._get_revised_path(leading_argv0dir), expected_path)
1549 self.assertEqual(self._get_revised_path(trailing_argv0dir), expected_path)
1553 def _get_revised_path(given_path): function
1554 return self._get_revised_path(given_path, argv0=pydoc.__file__)
1558 self.assertEqual(_get_revised_path(leading_argv0dir), expected_path)
1561 self.assertEqual(_get_revised_path(trailing_argv0dir), expected_path)
1569 self.assertIsNone(self._get_revised_path(leading_curdir))
[all …]
/external/python/cpython3/Lib/
Dpydoc.py2731 def _get_revised_path(given_path, argv0): function
2764 revised_path = _get_revised_path(sys.path, sys.argv[0])