diff options
author | ankitjavalkar | 2016-12-22 20:16:00 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-12-22 20:32:48 +0530 |
commit | 0e56fc6a77ec21db05c9bafb42b1acc652354a32 (patch) | |
tree | adb07f2709621b8906b5047da02010958bebba67 /yaksh/python_assertion_evaluator.py | |
parent | 42ed7c142e2c4ff4dccdaec2365e22d30bc276dd (diff) | |
download | online_test-0e56fc6a77ec21db05c9bafb42b1acc652354a32.tar.gz online_test-0e56fc6a77ec21db05c9bafb42b1acc652354a32.tar.bz2 online_test-0e56fc6a77ec21db05c9bafb42b1acc652354a32.zip |
- Fix grade user rendering issue when question is skipped
- Modify grade user html template to create readable variables for answer and error
Diffstat (limited to 'yaksh/python_assertion_evaluator.py')
-rw-r--r-- | yaksh/python_assertion_evaluator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py index d8cd07c..749a6ec 100644 --- a/yaksh/python_assertion_evaluator.py +++ b/yaksh/python_assertion_evaluator.py @@ -77,7 +77,7 @@ class PythonAssertionEvaluator(BaseEvaluator): fname, lineno, func, text = info[-1] text = str(self.test_case) err = "Expected Test Case:\n{0}\n" \ - "Error - {1} {2} in: {3}\n-----".format( + "Error - {1} {2} in: {3}\n".format( self.test_case, type.__name__, str(value), |