You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2024. It is now read-only.
The following code goes in doctest_global_setup in docs/conf.py
importosimportshutilimportatexitimporttempfileimportfunctools# Create a temporary directory for test to run inTEMPDIR=tempfile.mkdtemp()
# Remove it when the test exitsatexit.register(functools.partial(shutil.rmtree, TEMPDIR))
# Change the current working directory to the temporary directoryos.chdir(TEMPDIR)