Skip to content

Commit

Permalink
TEST: Delete Nifti1Images for Windows [build wheels]
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Sep 2, 2023
1 parent 52c6dc7 commit 7a0e097
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradunwarp/core/tests/test_gradient_unwarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ def test_trivial_unwarp():
unwarped_img = nb.load("out_ras.nii")
assert np.allclose(unwarped_img.affine, ras_img.affine)
assert np.allclose(unwarped_img.get_fdata(), np.flip(orig_arr, axis=0))

# Make sure we don't have open filehandles that would prevent Windows
# from cleaning up tmpdir
del unwarper
del img, unwarped_img, ras_img

0 comments on commit 7a0e097

Please sign in to comment.