None
set_directory function
Sets the cwd within the context
Args: path (Path): The path to the cwd
Yields: None
set_directory source
def set_directory(path: str) -> None: """Sets the cwd within the context Args: path (Path): The path to the cwd Yields: None """ origin = Path().absolute() try: os.chdir(path) yield finally: os.chdir(origin)