diff options
author | maheshgudi | 2016-09-16 19:27:49 +0530 |
---|---|---|
committer | maheshgudi | 2016-09-16 19:30:45 +0530 |
commit | e615c7b5cc922db1b92891b327e25258d778bd07 (patch) | |
tree | 35a615e0882691c7306f39f8dbff57cfaa920743 /yaksh/python_assertion_evaluator.py | |
parent | 5b2a6fe665a3add0916a255e5436841b820146ee (diff) | |
download | online_test-e615c7b5cc922db1b92891b327e25258d778bd07.tar.gz online_test-e615c7b5cc922db1b92891b327e25258d778bd07.tar.bz2 online_test-e615c7b5cc922db1b92891b327e25258d778bd07.zip |
bug fixes in python assertion evaluator
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 04a4e69..b9f0a55 100644 --- a/yaksh/python_assertion_evaluator.py +++ b/yaksh/python_assertion_evaluator.py @@ -49,6 +49,8 @@ class PythonAssertionEvaluator(CodeEvaluator): err = "{0} {1} in: {2}".format(type.__name__, str(value), text) except TimeoutException: raise + except Exception: + raise # Exception will be caught in CodeEvaluator. else: success = True err = 'Correct answer' |