PyTest expected exceptions output



$ pytest test_exceptions.py

test_exceptions.py .