summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authoradityacp2016-12-23 15:34:55 +0530
committeradityacp2016-12-23 15:34:55 +0530
commit1b9a870975c1e2492b692ab8ec58bc3c628dcd82 (patch)
treee1c4140c315655a9b57536e6550ac5eff5d67c4c /yaksh
parentd442941819dc7f8b65a2965fbcefe000fea1cde2 (diff)
downloadonline_test-1b9a870975c1e2492b692ab8ec58bc3c628dcd82.tar.gz
online_test-1b9a870975c1e2492b692ab8ec58bc3c628dcd82.tar.bz2
online_test-1b9a870975c1e2492b692ab8ec58bc3c628dcd82.zip
Remove unused method from base evaluator
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/base_evaluator.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/yaksh/base_evaluator.py b/yaksh/base_evaluator.py
index ce1647f..071008f 100644
--- a/yaksh/base_evaluator.py
+++ b/yaksh/base_evaluator.py
@@ -62,15 +62,6 @@ class BaseEvaluator(object):
submit_f.write(user_answer.lstrip())
submit_f.close()
- def _set_test_code_file_path(self, ref_path=None, test_case_path=None):
- if ref_path and not ref_path.startswith('/'):
- ref_path = join(MY_DIR, ref_path)
-
- if test_case_path and not test_case_path.startswith('/'):
- test_case_path = join(MY_DIR, test_case_path)
-
- return ref_path, test_case_path
-
def _set_file_as_executable(self, fname):
os.chmod(fname, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR
| stat.S_IRGRP | stat.S_IWGRP | stat.S_IXGRP