summaryrefslogtreecommitdiff
path: root/yaksh/bash_stdio_evaluator.py
diff options
context:
space:
mode:
authoradityacp2016-10-17 12:59:34 +0530
committeradityacp2016-10-17 12:59:34 +0530
commit908797ed67fba67bbc40eae7bb8b85381b3e5141 (patch)
tree6c9c9d0b1dbba901fca2745d7f58a3d85f3f1f81 /yaksh/bash_stdio_evaluator.py
parent1bfd71cc024dc7ea72099deff52efbeac7db87b5 (diff)
downloadonline_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.tar.gz
online_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.tar.bz2
online_test-908797ed67fba67bbc40eae7bb8b85381b3e5141.zip
changes in evaluator and file utils
Diffstat (limited to 'yaksh/bash_stdio_evaluator.py')
-rw-r--r--yaksh/bash_stdio_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/bash_stdio_evaluator.py b/yaksh/bash_stdio_evaluator.py
index e5e0da6..a7ea1a4 100644
--- a/yaksh/bash_stdio_evaluator.py
+++ b/yaksh/bash_stdio_evaluator.py
@@ -17,10 +17,10 @@ class BashStdioEvaluator(StdIOEvaluator):
self.submit_code_path = self.create_submit_code_file('Test.sh')
def teardown(self):
- super(BashStdioEvaluator, self).teardown()
os.remove(self.submit_code_path)
if self.files:
delete_files(self.files)
+ super(BashStdioEvaluator, self).teardown()
def compile_code(self, user_answer, file_paths, expected_input, expected_output):
self.files = []