summaryrefslogtreecommitdiff
path: root/yaksh/bash_stdio_evaluator.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-10-21 23:12:41 +0530
committerGitHub2016-10-21 23:12:41 +0530
commit08d8478a6a57991b0130c5610db6efa7bc9e5a66 (patch)
treec94df7d571b2294a10833fe719ea51411db7e077 /yaksh/bash_stdio_evaluator.py
parentadae38cb47d8c36280f2e6cd40ccade3ce1108c5 (diff)
parent8e06cee7b1fea13d121d2d0677b0a8e3ea7f2e38 (diff)
downloadonline_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.tar.gz
online_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.tar.bz2
online_test-08d8478a6a57991b0130c5610db6efa7bc9e5a66.zip
Merge pull request #148 from adityacp/fix_extract_files
Fix Questions zip extract files
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 = []