From 6e8b9bff096132fcb7d38f08e2e7289b34fab8bf Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Fri, 7 Feb 2025 16:26:42 +0000 Subject: [PATCH] Fix test --- tests/test_0840_support_tleafG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_0840_support_tleafG.py b/tests/test_0840_support_tleafG.py index 693dbeaa9..4fa425cfa 100644 --- a/tests/test_0840_support_tleafG.py +++ b/tests/test_0840_support_tleafG.py @@ -12,7 +12,7 @@ def test_support_leafG(tmp_path): f = ROOT.TFile(filename, "recreate") t = ROOT.TTree("mytree", "example tree") - n = np.array(2, dtype=np.int32) + n = np.int32(2) t.Branch("mynum", n, "mynum/I") x = np.array([[1, 2, 3], [4, 5, 6]]) t.Branch("myarrayG", x, "myarrayG[mynum][3]/G")