From aca6def8c799a0524ed08f9c9b967123e475ea63 Mon Sep 17 00:00:00 2001
From: fbourgin <francois.bourgin@inrae.fr>
Date: Tue, 20 May 2025 15:16:19 +0200
Subject: [PATCH] add a test for q_lvl

---
 tests/test_probabilist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_probabilist.py b/tests/test_probabilist.py
index aaa8e69..2181206 100644
--- a/tests/test_probabilist.py
+++ b/tests/test_probabilist.py
@@ -163,7 +163,7 @@ class TestMetrics(unittest.TestCase):
     def test_intervals_qlvl_metrics(self):
         lvl = numpy.array([50., 80.])
         qlvl = numpy.array([10., 25., 75., 90])
-        for metric in expected_itv_qlvl.keys():
+        for metric in self.expected_itv_qlvl.keys():
 
             numpy.set_printoptions(precision=13)
             m = evalhyd.evalp(_obs, _prd, [metric], c_lvl=lvl, q_lvl=qlvl)[0][0, 0, 0]
-- 
GitLab