spacepy_testing.add_build_to_path

spacepy_testing.add_build_to_path()[source]

Adds the python build directory to the search path.

Locates the build directory in the same repository as this test module and adds the (version-specific) library directories to the Python module search path, so the unit tests can be run against the built instead of installed version.

This is run on import of this module.