summaryrefslogtreecommitdiff
path: root/yaksh/python_stdio_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/python_stdio_evaluator.py')
-rw-r--r--yaksh/python_stdio_evaluator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/python_stdio_evaluator.py b/yaksh/python_stdio_evaluator.py
index 3011179..5f672e2 100644
--- a/yaksh/python_stdio_evaluator.py
+++ b/yaksh/python_stdio_evaluator.py
@@ -32,10 +32,10 @@ class PythonStdioEvaluator(CodeEvaluator):
"""Tests the Python code obtained from Code Server"""
def teardown(self):
- super(PythonStdioEvaluator, self).teardown()
# Delete the created file.
if self.files:
delete_files(self.files)
+ super(PythonStdioEvaluator, self).teardown()
def compile_code(self, user_answer, file_paths, expected_input, expected_output):