summaryrefslogtreecommitdiff
path: root/yaksh/grader.py
diff options
context:
space:
mode:
authorMahesh Gudi2016-12-29 18:00:28 +0530
committermaheshgudi2017-01-09 18:10:30 +0530
commit65f8f0f4dd867c1d1647712560e3aef73b8c921f (patch)
tree709bdb459847ed64cf59bb46d21018fba9f13f96 /yaksh/grader.py
parent7fb288ffd992c912a8e2288aa97d6c6ceeedf1a1 (diff)
downloadonline_test-65f8f0f4dd867c1d1647712560e3aef73b8c921f.tar.gz
online_test-65f8f0f4dd867c1d1647712560e3aef73b8c921f.tar.bz2
online_test-65f8f0f4dd867c1d1647712560e3aef73b8c921f.zip
Python hook evaluator
Diffstat (limited to 'yaksh/grader.py')
-rw-r--r--yaksh/grader.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/grader.py b/yaksh/grader.py
index 086abb7..1d4e61e 100644
--- a/yaksh/grader.py
+++ b/yaksh/grader.py
@@ -120,7 +120,6 @@ class Grader(object):
for test_case in test_case_data:
test_case_instance = create_evaluator_instance(metadata, test_case)
test_case_instances.append(test_case_instance)
-
return test_case_instances
@@ -157,7 +156,7 @@ class Grader(object):
except TimeoutException:
error.append(self.timeout_msg)
except OSError:
- msg = traceback.format_exc(limit=0)
+ msg = traceback.format_exc()
error.append("Error: {0}".format(msg))
except Exception:
exc_type, exc_value, exc_tb = sys.exc_info()