I have changed all the ad hoc `if MPI.size > 1 then skip` hacks in the
(Python) unit tests. These are now replaced with Python >= 2.7
decorators.
Either:
@unittest.skipIf(MPI.size(mpi_comm_world()) > 1,
"Skipping unit test(s) not working in parallel")
class FooTest:
...
Or:
class FooTest:
@unittest.skipIf(MPI.size(mpi_comm_world()) > 1,
"Skipping unit test(s) not working in parallel")
def test_foo(self):
depending on whether the whole class of tests should be skipped or
just a specific test.
So please use this in place of if-clauses for skipping from now on.
We currently have 114 instances of skipIf in the unit tests.
--
Anders
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics