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()
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