summaryrefslogtreecommitdiff
path: root/yaksh/error_messages.py
diff options
context:
space:
mode:
authormaheshgudi2017-11-06 19:35:13 +0530
committermaheshgudi2017-11-07 14:50:09 +0530
commit08c076b7945dec8257efc10db4c9b141a8cf7f8c (patch)
tree125976d85ce6f7ce1f42db960e192864432b9393 /yaksh/error_messages.py
parent70a35ac2a001bd9638d9db5ed645d00f94ae4666 (diff)
downloadonline_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.py3
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")