improve output in case of multiple errors
pytest: don't hide local variables