-
Notifications
You must be signed in to change notification settings - Fork 673
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a fixture for npz files in test_bat (#2981)
Fixes #2979 ## Work done in this PR The file test_bat_IO.npy was created in one test and used in another one. This leads to the second test possibly failing when the tests are run in parallel. This commit moves creating the file into a fixture that the two tests depends. The new fixture also uses the tmpdir fixture to avoid the file created during the tests to remain in the test directory.
- Loading branch information
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters