Skip to content

Commit

Permalink
Print exception type and message in the python runner
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimiroff committed Feb 23, 2015
1 parent 02d6b6a commit bee80d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/language/python/runner.py
Expand Up @@ -106,6 +106,7 @@ def main(test_module):
).result
except Exception as e:
result = EmptyTestResult()
print(e)
traceback.print_tb(e.__traceback__)

failed = [str(test[0]) for test in result.failures + result.errors]
Expand Down

0 comments on commit bee80d6

Please sign in to comment.