Contents:
Context manager that temporarily sets the working directory.
dir_path (str or None) – The path to the temporary working directory. If None, the working directory is not changed. This might be useful to avoid branching code.
None