Change dotexport test to use tmpdir to fix race condition In the upstream package, the dotexport test manually creates and deletes temporary directories in a way that exposes it to possible race conditions. This patch corrects that by having it use the pytest tmpdir constructs, which handle temporary directories safely.