Yeah I don't know what to do about this. We could keep this conftest.py and make all the other examples in the "testing" directory also runnable with pytest, rather than as standalone files. It doesn't reduce the duplication but might be more coherent.