py.test should capture stdout/stderr