summaryrefslogtreecommitdiff
path: root/yaksh/code_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-11-04 18:07:35 +0530
committerankitjavalkar2016-11-10 12:43:14 +0530
commit576c92b3b7d8989bf6bb99316d096f48f5b4cc24 (patch)
treef1f36b8cae1c9ffad9c5cb5637e857ad9b01aba4 /yaksh/code_evaluator.py
parent0bfa58d8705fa08b45a208a4cec98dd267799f8a (diff)
downloadonline_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.tar.gz
online_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.tar.bz2
online_test-576c92b3b7d8989bf6bb99316d096f48f5b4cc24.zip
Fix test cases for partial grading feature
Diffstat (limited to 'yaksh/code_evaluator.py')
-rw-r--r--yaksh/code_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/code_evaluator.py b/yaksh/code_evaluator.py
index b404d57..1672efa 100644
--- a/yaksh/code_evaluator.py
+++ b/yaksh/code_evaluator.py
@@ -123,6 +123,7 @@ class CodeEvaluator(object):
)
if success:
marks += test_case_marks
+ error = err
else:
error += err + "\n"