Skip to content

Commit 8bc3281

Browse files
committed
test: skip the uproot end-to-end fill when uproot lacks uproot.graphed
An installed uproot without the graphed reader (any release before scikit-hep/uproot5#1720) raised AttributeError instead of skipping. Assisted-by: ClaudeCode:claude-fable-5-1
1 parent f1e4108 commit 8bc3281

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎tests/test_graphed.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ def read_partition(self, partition, _columns, _resources):
136136

137137
def test_uproot_ttree_fill_end_to_end():
138138
uproot = pytest.importorskip("uproot")
139+
if not hasattr(uproot, "graphed"):
140+
pytest.skip("uproot without uproot.graphed (scikit-hep/uproot5#1720)")
139141
pytest.importorskip("graphed.awkward")
140142
skhep_testdata = pytest.importorskip("skhep_testdata")
141143

0 commit comments

Comments
 (0)