Skip to content

Commit 3813188

Browse files
committed
TEST: Mark file:/// URL test as xfail
1 parent afd6562 commit 3813188

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nibabel/tests/test_image_api.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,10 @@ def validate_from_url(self, imaker, params):
579579
del img
580580
del rt_img
581581

582+
@pytest.mark.xfail(
583+
sys.version_info >= (3, 12),
584+
reason='Response type for file: urls is not a stream in Python 3.12',
585+
)
582586
def validate_from_file_url(self, imaker, params):
583587
tmp_path = self.tmp_path
584588

0 commit comments

Comments
 (0)