diff options
author | mahesh | 2017-05-22 14:32:47 +0530 |
---|---|---|
committer | mahesh | 2017-05-22 14:32:47 +0530 |
commit | 77f05d3df90a70ff97285deb5bda2d91d99e65d5 (patch) | |
tree | cf292b268f8f8dc322ea8bd50d2bbd65abef39e7 /yaksh/stdio_evaluator.py | |
parent | 153f738c3c43b26339fb625aba8336b3f8265991 (diff) | |
download | online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.gz online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.bz2 online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.zip |
changes variable and dict key names along with other minor changes in answerpaper.
Diffstat (limited to 'yaksh/stdio_evaluator.py')
-rw-r--r-- | yaksh/stdio_evaluator.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/yaksh/stdio_evaluator.py b/yaksh/stdio_evaluator.py index a5785ea..932ae7e 100644 --- a/yaksh/stdio_evaluator.py +++ b/yaksh/stdio_evaluator.py @@ -5,7 +5,7 @@ import signal # Local imports from .base_evaluator import BaseEvaluator from .grader import TimeoutException -from .compare_stdio import CompareOutputs +from .compare_stdio import compare_outputs class StdIOEvaluator(BaseEvaluator): @@ -21,9 +21,8 @@ class StdIOEvaluator(BaseEvaluator): os.killpg(os.getpgid(proc.pid), signal.SIGTERM) raise expected_output = expected_output.replace("\r", "") - compare = CompareOutputs() - success, err = compare.compare_outputs(expected_output, - user_output, - expected_input - ) + success, err = compare_outputs(expected_output, + user_output, + expected_input + ) return success, err |