summaryrefslogtreecommitdiff
path: root/yaksh/python_assertion_evaluator.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/python_assertion_evaluator.py')
-rw-r--r--yaksh/python_assertion_evaluator.py17
1 files changed, 4 insertions, 13 deletions
diff --git a/yaksh/python_assertion_evaluator.py b/yaksh/python_assertion_evaluator.py
index eb13f53..003e001 100644
--- a/yaksh/python_assertion_evaluator.py
+++ b/yaksh/python_assertion_evaluator.py
@@ -39,19 +39,10 @@ class PythonAssertionEvaluator(BaseEvaluator):
# self.files = []
- # def teardown(self):
- # # Delete the created file.
- # if self.files:
- # delete_files(self.files)
- # super(PythonAssertionEvaluator, self).teardown()
-
- # def teardown(self):
- # # Delete the created file.
- # if self.files:
- # delete_files(self.files)
- # # Cancel the signal
- # delete_signal_handler()
- # self._change_dir(dirname(MY_DIR))
+ def teardown(self):
+ # Delete the created file.
+ if self.files:
+ delete_files(self.files)
def compile_code(self):
if self.file_paths: