diff options
author | maheshgudi | 2017-11-06 19:35:13 +0530 |
---|---|---|
committer | maheshgudi | 2017-11-07 14:50:09 +0530 |
commit | 08c076b7945dec8257efc10db4c9b141a8cf7f8c (patch) | |
tree | 125976d85ce6f7ce1f42db960e192864432b9393 /yaksh/error_messages.py | |
parent | 70a35ac2a001bd9638d9db5ed645d00f94ae4666 (diff) | |
download | online_test-08c076b7945dec8257efc10db4c9b141a8cf7f8c.tar.gz online_test-08c076b7945dec8257efc10db4c9b141a8cf7f8c.tar.bz2 online_test-08c076b7945dec8257efc10db4c9b141a8cf7f8c.zip |
Modify testcases wrt changes in assertion error output
Diffstat (limited to 'yaksh/error_messages.py')
-rw-r--r-- | yaksh/error_messages.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/error_messages.py b/yaksh/error_messages.py index 5453edd..25b690b 100644 --- a/yaksh/error_messages.py +++ b/yaksh/error_messages.py @@ -9,7 +9,8 @@ def prettify_exceptions(exception, message, traceback=None, testcase=None): "traceback": traceback, "message": message } - + if exception == "RecursionError": + err["traceback"] = None if exception == 'AssertionError': value = ("Expected answer from the" + " test case did not match the output") |