From 179c6a49f873d13094cdcaa5b8732033c484a8fa Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 29 Apr 2024 10:51:15 +0100 Subject: [PATCH] tests: suppress cupy PerformanceWarning --- tests/test_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_common.py b/tests/test_common.py index 875f427..fb4ca6e 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -115,6 +115,7 @@ def test_CuVec_creation(cu, classname, caplog): @mark.timeout(60) +@mark.filterwarnings("ignore:.*one-time only warm-up.*:PerformanceWarning") @mark.parametrize("cu", filter(None, [cp, py, sw])) def test_cuda_array_interface(cu): cupy = importorskip("cupy")