Skip to content

Commit acf0334

Browse files
authored
Update nibabel/tests/test_image_api.py
1 parent bcde4ee commit acf0334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_image_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def validate_from_file_url(self, imaker, params):
603603
fname = tmp_path / f'img-{uuid.uuid4()}{self.standard_extension}'
604604
img.to_filename(fname)
605605

606-
rt_img = img.__class__.from_url(f"file://{fname}")
606+
rt_img = img.__class__.from_url(f"file:///{fname}")
607607

608608
assert self._header_eq(img.header, rt_img.header)
609609
assert np.array_equal(img.get_fdata(), rt_img.get_fdata())

0 commit comments

Comments
 (0)