File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 33import pytest
44import uproot
55import uproot .source .fsspec
6+ import uproot .source .file
7+ import uproot .source .xrootd
8+ import uproot .source .s3
69
710import skhep_testdata
811import queue
@@ -211,7 +214,17 @@ def test_fsspec_zip(tmp_path):
211214
212215
213216# https://github.com/scikit-hep/uproot5/issues/1035
214- def test_issue_1035 ():
215- with uproot .open (skhep_testdata .data_path ("uproot-issue-1035.root" )) as f :
217+ @pytest .mark .parametrize (
218+ "handler" ,
219+ [
220+ uproot .source .file .MemmapSource ,
221+ uproot .source .fsspec .FSSpecSource ,
222+ None ,
223+ ],
224+ )
225+ def test_issue_1035 (handler ):
226+ with uproot .open (
227+ skhep_testdata .data_path ("uproot-issue-1035.root" ), handler = handler
228+ ) as f :
216229 tree = f ["CollectionTree" ]
217230 print (tree .keys ())
You can’t perform that action at this time.
0 commit comments