Skip to content

TST: Windows directory clean up #9

@aburrell

Description

@aburrell

On Windows operating systems, the cleanup performed by tempfiles doesn't always work. By Python 3.10, this can be fixed by updating the usage of tempfile.TemporaryDirectory to include ignore_cleanup_errors=True. In the meantime, a try / bare except is used around cleanup statements where known problems occur to keep the code running until older python support can be dropped (estimated to be sometime around the release of Python 3.12).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions