bundles / astropy latest / astropy / tests / runner / TestRunner / packages_path
function
astropy.tests.runner:TestRunner.packages_path
source: /astropy/tests/runner.py :297
Signature
def packages_path ( self , packages , base_path , error = None , warning = None ) Summary
Generates the path for multiple packages.
Parameters
packages: strComma separated string of packages.
base_path: strBase path to the source code or documentation.
error: strError message to be raised as
ValueError. Individual package name and path can be accessed by{name}and{path}respectively. No error is raised ifNone. (Default:None)warning: strWarning message to be issued. Individual package name and path can be accessed by
{name}and{path}respectively. No warning is issues ifNone. (Default:None)
Returns
paths: list of strList of strings of existing package paths.
Aliases
-
astropy.tests.runner.TestRunner.packages_path