diff options
author | ankitjavalkar | 2016-05-02 11:52:58 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-05-05 19:24:54 +0530 |
commit | 23b7abd3c1125e4c875e214e4f673c48c4bf4752 (patch) | |
tree | a76fccd392e054f33a3fc4bbd388c0aaa34bb40b /yaksh/python_stdout_evaluator.py | |
parent | b40b668bcecd01b3c7f9f16b87775770ba06a33a (diff) | |
download | online_test-23b7abd3c1125e4c875e214e4f673c48c4bf4752.tar.gz online_test-23b7abd3c1125e4c875e214e4f673c48c4bf4752.tar.bz2 online_test-23b7abd3c1125e4c875e214e4f673c48c4bf4752.zip |
Remove commented code and cleanup
Diffstat (limited to 'yaksh/python_stdout_evaluator.py')
-rw-r--r-- | yaksh/python_stdout_evaluator.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/yaksh/python_stdout_evaluator.py b/yaksh/python_stdout_evaluator.py index 4d89e16..b967024 100644 --- a/yaksh/python_stdout_evaluator.py +++ b/yaksh/python_stdout_evaluator.py @@ -40,12 +40,6 @@ class PythonStdoutEvaluator(CodeEvaluator): success = False tb = None - # submitted = compile(user_answer, '<string>', mode='exec') - # with redirect_stdout() as output_buffer: - # g = {} - # exec submitted in g - # raw_output_value = output_buffer.getvalue() - # output_value = raw_output_value.strip() if expected_output in user_answer: success = False err = "Incorrect Answer: Please avoid printing the expected output directly" |