Skip to content

Commit 040d09a

Browse files
authored
Remove cloudpathlib marker from tests
1 parent deb7fb4 commit 040d09a

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

tests/test_indexing.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from pytest import LogCaptureFixture
88

99
import bids2table._indexing as indexing
10-
from bids2table._pathlib import cloudpathlib_is_available
1110

1211
BIDS_EXAMPLES = Path(__file__).parents[1] / "bids-examples"
1312

@@ -53,9 +52,6 @@ def test_find_bids_datasets():
5352

5453

5554
@pytest.mark.cloud
56-
@pytest.mark.skipif(
57-
not cloudpathlib_is_available(), reason="cloudpathlib not installed"
58-
)
5955
def test_find_bids_datasets_s3():
6056
root = "s3://openneuro.org"
6157
datasets = list(islice(indexing.find_bids_datasets(root, maxdepth=2), 10))
@@ -82,9 +78,6 @@ def test_index_dataset(root: str, expected_count: int):
8278

8379

8480
@pytest.mark.cloud
85-
@pytest.mark.skipif(
86-
not cloudpathlib_is_available(), reason="cloudpathlib not installed"
87-
)
8881
def test_index_dataset_s3():
8982
root = "s3://openneuro.org/ds000102"
9083
expected_count = 130

tests/test_metadata.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import pytest
44

55
from bids2table._metadata import load_bids_metadata
6-
from bids2table._pathlib import cloudpathlib_is_available
76

87
BIDS_EXAMPLES = Path(__file__).parents[1] / "bids-examples"
98

@@ -25,9 +24,6 @@ def test_load_bids_metadata(inherit: bool):
2524

2625

2726
@pytest.mark.cloud
28-
@pytest.mark.skipif(
29-
not cloudpathlib_is_available(), reason="cloudpathlib not installed"
30-
)
3127
def test_load_bids_metadata_s3():
3228
path = (
3329
"s3://openneuro.org/ds000102/sub-01/func/sub-01_task-flanker_run-1_bold.nii.gz"

0 commit comments

Comments
 (0)