Skip to content

Conversation

@ephathaway
Copy link

There are a number of cleanup steps we can get rid of now that we are using tmpdir.

rmdir(dirname)
except BaseException:
raise AssertionError(f"""
Clean-up failed of '{dirname}'. Were additional files written?""")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This I kept in because I thought it was nice to check to make the exact set of files was written, but I suppose there are cleaner ways to do that

@larsoner larsoner merged commit ebe7883 into larsoner:exc_class Jun 3, 2021
@ephathaway ephathaway deleted the exc_class-evan branch June 11, 2021 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants