From a78b48cc3836f1753e5cd9b5728c41ca0d022c16 Mon Sep 17 00:00:00 2001 From: abn Date: Tue, 16 May 2023 09:42:18 +0200 Subject: [PATCH] Minor: wider exception check in IKDEC test --- src/ParaMEDMEM_Swig/test_InterpKernelDEC.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py index fe30d14cb..b80a5d76f 100755 --- a/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py +++ b/src/ParaMEDMEM_Swig/test_InterpKernelDEC.py @@ -108,7 +108,7 @@ class ParaMEDMEM_IK_DEC_Tests(unittest.TestCase): i6 = InterpKernelDEC(l1, l2, MPI._addressof(MPI.COMM_WORLD)) # Should fail with 2 proc groups **and** a communicator self.assertRaises(InterpKernelException, InterpKernelDEC.New, source_group, target_group, MPI.COMM_WORLD) - self.assertRaises(NotImplementedError, InterpKernelDEC, source_group, target_group, MPI.COMM_WORLD) + self.assertRaises(Exception, InterpKernelDEC, source_group, target_group, MPI.COMM_WORLD) i6.release(); i5.release(); i4.release(); i3.release(); i2.release(); i1.release() source_group.release() target_group.release() -- 2.39.2