pytest-instafail is a plugin for py.test that shows failures and errors instantly instead of waiting until the end of test session.
To install pytest-instafail:
$ pip install pytest-instafail
Then run your tests with:
$ py.test --instafail