summaryrefslogtreecommitdiff
path: root/yaksh/scilab_code_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/scilab_code_evaluator.py')
-rw-r--r--yaksh/scilab_code_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/scilab_code_evaluator.py b/yaksh/scilab_code_evaluator.py
index 011cb69..075bf6b 100644
--- a/yaksh/scilab_code_evaluator.py
+++ b/yaksh/scilab_code_evaluator.py
@@ -20,11 +20,11 @@ class ScilabCodeEvaluator(CodeEvaluator):
self.create_submit_code_file('function.sci')
def teardown(self):
- super(ScilabCodeEvaluator, self).teardown()
# Delete the created file.
os.remove(self.submit_code_path)
if self.files:
delete_files(self.files)
+ super(ScilabCodeEvaluator, self).teardown()
def check_code(self, user_answer, file_paths, test_case):
self.files = []