summaryrefslogtreecommitdiff
path: root/yaksh/stdio_evaluator.py
diff options
context:
space:
mode:
authoradityacp2016-07-27 22:51:30 +0530
committeradityacp2016-07-27 22:52:24 +0530
commite340b564d886501d36fa738e135ccb8e07645f4d (patch)
tree155d307e53766e7b4dde52f75b43cb08ab5e2042 /yaksh/stdio_evaluator.py
parentbdbacc0a24970cbe27acd1aa1dbee0bd82157bdb (diff)
downloadonline_test-e340b564d886501d36fa738e135ccb8e07645f4d.tar.gz
online_test-e340b564d886501d36fa738e135ccb8e07645f4d.tar.bz2
online_test-e340b564d886501d36fa738e135ccb8e07645f4d.zip
removed extra new lines
Diffstat (limited to 'yaksh/stdio_evaluator.py')
-rw-r--r--yaksh/stdio_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/stdio_evaluator.py b/yaksh/stdio_evaluator.py
index 236c0ab..86b124c 100644
--- a/yaksh/stdio_evaluator.py
+++ b/yaksh/stdio_evaluator.py
@@ -1,6 +1,6 @@
class Evaluator(object):
+
def evaluate(self, user_answer, proc, expected_input, expected_output):
-
success = False
ip = expected_input.replace(",", " ")
user_output, output_err = proc.communicate(input='{0}\n'.format(ip))