diff options
author | maheshgudi | 2016-11-18 16:30:36 +0530 |
---|---|---|
committer | maheshgudi | 2016-11-18 16:30:36 +0530 |
commit | 2cb22a95912e6fe6bf97046de654207e4f265d8c (patch) | |
tree | 6054de2d9a2b7214eb9c20ba7e09a592fbc2484f /yaksh/python_assertion_evaluator.py | |
parent | 8db94931bfd2fd0bab9e3b1bf0fc6d4aeb7b9274 (diff) | |
download | online_test-2cb22a95912e6fe6bf97046de654207e4f265d8c.tar.gz online_test-2cb22a95912e6fe6bf97046de654207e4f265d8c.tar.bz2 online_test-2cb22a95912e6fe6bf97046de654207e4f265d8c.zip |
fixed test cases and added timeout exception in python assertion
Diffstat (limited to 'yaksh/python_assertion_evaluator.py')
-rw-r--r-- | yaksh/python_assertion_evaluator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py index ba1890f..986dbf2 100644 --- a/yaksh/python_assertion_evaluator.py +++ b/yaksh/python_assertion_evaluator.py @@ -73,6 +73,8 @@ class PythonAssertionEvaluator(CodeEvaluator): type.__name__, str(value), text ) + except TimeoutException: + raise except Exception: msg = traceback.format_exc(limit=0) err = "Error in Test case: {0}".format(msg) |