Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix some nondeterminism in tests with GCing tempfiles.
Before, the tempfile "f" could be GC'd before the path was used, resulting in failed tests because when it is GC'd the tempfile is removed. We now store the tempfile in an instance variable so that it isn't even available for GC until after the test is finished running.
- Loading branch information