summaryrefslogtreecommitdiff
path: root/yaksh/python_assertion_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-05-02 14:38:13 +0530
committerankitjavalkar2016-05-09 11:51:06 +0530
commitd953f6f9e62671eeb5d6ea6498475167301dfe91 (patch)
treeca172e52de5e8dd04e97ce7acfa16ab577ab9d58 /yaksh/python_assertion_evaluator.py
parent23b7abd3c1125e4c875e214e4f673c48c4bf4752 (diff)
downloadonline_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.tar.gz
online_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.tar.bz2
online_test-d953f6f9e62671eeb5d6ea6498475167301dfe91.zip
- Fix tests
- Fix minor views.py - Fix minor errors caused due to conflict resolution, rebasing - Fix errors in forms, views - Minor Button label change in addquestion.html - Add snippet to question - Remove commented code
Diffstat (limited to 'yaksh/python_assertion_evaluator.py')
-rw-r--r--yaksh/python_assertion_evaluator.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py
index ff56421..bf6a4be 100644
--- a/yaksh/python_assertion_evaluator.py
+++ b/yaksh/python_assertion_evaluator.py
@@ -39,8 +39,6 @@ class PythonAssertionEvaluator(CodeEvaluator):
err = "{0} {1} in: {2}".format(type.__name__, str(value), text)
except TimeoutException:
raise
- except Exception:
- err = traceback.format_exc(limit=0)
else:
success = True
err = 'Correct answer'