{ } Raw JSON

bundles / astropy 7.0.1 / 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 : str

Comma separated string of packages.

base_path : str

Base path to the source code or documentation.

error : str

Error message to be raised as ValueError. Individual package name and path can be accessed by {name} and {path} respectively. No error is raised if None. (Default: None)

warning : str

Warning message to be issued. Individual package name and path can be accessed by {name} and {path} respectively. No warning is issues if None. (Default: None)

Returns

paths : list of str

List of strings of existing package paths.

Aliases

  • astropy.tests.runner.TestRunner.packages_path