Skip to content

Commit

Permalink
TEST: Mark file:/// URL test as xfail
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Aug 15, 2023
1 parent afd6562 commit 5c49c57
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nibabel/tests/test_image_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import io
import pathlib
import sys
import warnings
from functools import partial
from itertools import product
Expand Down Expand Up @@ -579,6 +580,10 @@ def validate_from_url(self, imaker, params):
del img
del rt_img

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

Expand Down

0 comments on commit 5c49c57

Please sign in to comment.