Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify directory cleanup to avoid ResourceWarning
Deleting the variable does trigger the clean up of the temporary directory but it also issues a warning: ResourceWarning: Implicitly cleaning up <TemporaryDirectory '/var/folders/1x/h9lknjv97cx6lw9npp95xkyr0000gn/T/tmpav1qw4d_'> Replace the tearDown with an explicit cleanup() call. Also ensure that any errors in clean up do not cause the tests to fail.
- Loading branch information