Skip to content

Commit cdda08a

Browse files
committed
Reviews path on failing test
1 parent d43a30a commit cdda08a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/networks/blocks/warp/test_warp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# limitations under the License.
1111
from __future__ import annotations
1212

13-
import os
1413
import unittest
1514
from pathlib import Path
1615

@@ -158,7 +157,7 @@ def test_grad(self):
158157

159158

160159
TESTS_PATH = Path(__file__).parents[3]
161-
FILE_PATH = os.path.join(TESTS_PATH, "testing_data", "temp_" + "mri.nii")
160+
FILE_PATH = TESTS_PATH / "testing_data" / "temp_" / "mri.nii"
162161

163162

164163
def load_img_and_sample_ddf():

0 commit comments

Comments
 (0)