summaryrefslogtreecommitdiff
path: root/yaksh/python_stdio_evaluator.py
diff options
context:
space:
mode:
authorprathamesh2020-06-10 11:56:49 +0530
committerprathamesh2020-06-10 11:56:49 +0530
commitc27bc87afd68266da59af6e7f2b3b8cc8db13fad (patch)
tree9075a0019cbba086f4bdefb54346b259d8580cb6 /yaksh/python_stdio_evaluator.py
parent73dc8f6820c6c86fd8e70a68456ca2e541801bde (diff)
downloadonline_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.tar.gz
online_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.tar.bz2
online_test-c27bc87afd68266da59af6e7f2b3b8cc8db13fad.zip
Allow moderator to hide test cases from the user
Diffstat (limited to 'yaksh/python_stdio_evaluator.py')
-rw-r--r--yaksh/python_stdio_evaluator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/yaksh/python_stdio_evaluator.py b/yaksh/python_stdio_evaluator.py
index a1e8f72..272bf34 100644
--- a/yaksh/python_stdio_evaluator.py
+++ b/yaksh/python_stdio_evaluator.py
@@ -36,6 +36,7 @@ class PythonStdIOEvaluator(BaseEvaluator):
self.expected_input = test_case_data.get('expected_input')
self.expected_output = test_case_data.get('expected_output')
self.weight = test_case_data.get('weight')
+ self.hidden = test_case_data.get('hidden')
def teardown(self):
# Delete the created file.