Call pytest directly from summarytest and using pytest for examples tests
This MR refactors summarytest
to call pytest.main
directly, rather than using subprocess
. This should be minimally more efficient, but also gives more control over what's going on.
I also refactored the calling functions to use a common _pytest
function.
I also also wrote a pytest module for the examples tests, which should make things a little easier to debug.