Skip to content

Commit

Permalink
BUG: Fix test using tmp folder
Browse files Browse the repository at this point in the history
  • Loading branch information
acsenrafilho committed Nov 27, 2024
1 parent 345d5e3 commit 97d4579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import numpy as np
import pytest
import SimpleITK as sitk
import tempfile

from asltk import asldata, utils

Expand Down Expand Up @@ -212,7 +213,7 @@ def test_load_image_using_BIDS_input_sucess(input_bids, sub, sess, mod, suff):

@pytest.mark.parametrize(
'input_data',
[('/tmp')],
[(tempfile.gettempdir())],
)
def test_load_image_using_not_valid_BIDS_input_raise_error(input_data):
with pytest.raises(Exception) as e:
Expand Down

0 comments on commit 97d4579

Please sign in to comment.