Common py.test support for Diffeo tests.