From a0aa63a15006d3bdb79c5c7bbef72edade604426 Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Sun, 26 May 2024 13:05:35 -0500 Subject: [PATCH] skip hist plotting tests if no cupy --- tests/test_hist_plot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_hist_plot.py b/tests/test_hist_plot.py index 1eb7af46b..8654fb11e 100644 --- a/tests/test_hist_plot.py +++ b/tests/test_hist_plot.py @@ -5,6 +5,8 @@ from coffea.util import numpy as np +pytest.importorskip("cupy") + url = ( "https://github.com/scikit-hep/uproot3/blob/master/tests/samples/HZZ.root?raw=true" )