We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06af00d commit 50b9ca4Copy full SHA for 50b9ca4
tests/test_0692_fsspec_reading.py
@@ -223,6 +223,18 @@ def test_fsspec_zip(tmp_path):
223
],
224
)
225
def test_issue_1035(handler):
226
+ # remove after https://github.com/scikit-hep/scikit-hep-testdata/pull/132
227
+ with fsspec.open(
228
+ "https://github.com/lobis/scikit-hep-testdata/raw/main/src/skhep_testdata/data/uproot-issue-1035.root"
229
+ ) as f_remote:
230
+ with open(
231
+ os.path.join(
232
+ skhep_testdata.local_files._cache_path(), "uproot-issue-1035.root"
233
+ ),
234
+ "wb",
235
+ ) as f_local:
236
+ f_local.write(f_remote.read())
237
+
238
with uproot.open(
239
skhep_testdata.data_path("uproot-issue-1035.root"), handler=handler
240
) as f:
0 commit comments