Skip to content

Commit

Permalink
Update test_0692_fsspec_reading.py to include different file name var…
Browse files Browse the repository at this point in the history
…ieties
  • Loading branch information
lgray authored Dec 14, 2023
1 parent 09c42ef commit f094578
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions tests/test_0692_fsspec_reading.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,20 +392,25 @@ def test_issue_1035(handler):

@pytest.mark.network
@pytest.mark.xrootd
@pytest.mark.parametrize(
"filename",
[
{"root://eospublic.cern.ch//eos/root-eos/cms_opendata_2012_nanoaod/Run2012B_*.root": "Events"},
"root://eospublic.cern.ch//eos/root-eos/cms_opendata_2012_nanoaod/Run2012B_*.root:Events",
]
)
@pytest.mark.parametrize(
"handler",
[
uproot.source.fsspec.FSSpecSource,
None,
],
)
def test_fsspec_globbing_xrootd(handler):
def test_fsspec_globbing_xrootd(handler, filename):
pytest.importorskip("XRootD")
pytest.importorskip("fsspec_xrootd")
iterator = uproot.iterate(
{
"root://eospublic.cern.ch//eos/root-eos/cms_opendata_2012_nanoaod/Run2012B_*.root": "Events"
},
filename,
["PV_x"],
handler=handler,
)
Expand Down

0 comments on commit f094578

Please sign in to comment.