From 97ccb0d646f9b1e5f57f3e35801e86b8fcc26d62 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 16 May 2023 10:50:17 +0200 Subject: [PATCH] Minor: wider exception check in IKDEC test --- src/ParaMEDMEM_Swig/test_OverlapDEC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParaMEDMEM_Swig/test_OverlapDEC.py b/src/ParaMEDMEM_Swig/test_OverlapDEC.py index 778f40b03..8e6716433 100755 --- a/src/ParaMEDMEM_Swig/test_OverlapDEC.py +++ b/src/ParaMEDMEM_Swig/test_OverlapDEC.py @@ -104,7 +104,7 @@ class ParaMEDMEM_O_DEC_Tests(unittest.TestCase): o3 = OverlapDEC.New(proc_group, MPI.COMM_WORLD) # Also work directly with the **hack** on the comm: o4 = OverlapDEC(proc_group, MPI._addressof(MPI.COMM_WORLD)) - self.assertRaises(NotImplementedError, OverlapDEC, proc_group, MPI.COMM_WORLD) + self.assertRaises(Exception, OverlapDEC, proc_group, MPI.COMM_WORLD) o4.release(); o3.release(); o2.release(); o1.release() @WriteInTmpDir -- 2.39.2