summaryrefslogtreecommitdiff
path: root/yaksh/python_stdio_evaluator.py
diff options
context:
space:
mode:
authorankitjavalkar2016-12-15 16:34:18 +0530
committerankitjavalkar2016-12-20 12:46:02 +0530
commit80a4feef3c209e044e8cbe31e44c81d69136e100 (patch)
treedcf262436bbe7ada8dc43638ac1769238c30bac9 /yaksh/python_stdio_evaluator.py
parentb59e11188609ef10150f76d75f75882f8ae20269 (diff)
downloadonline_test-80a4feef3c209e044e8cbe31e44c81d69136e100.tar.gz
online_test-80a4feef3c209e044e8cbe31e44c81d69136e100.tar.bz2
online_test-80a4feef3c209e044e8cbe31e44c81d69136e100.zip
Add further changes to code evaluator
Diffstat (limited to 'yaksh/python_stdio_evaluator.py')
-rw-r--r--yaksh/python_stdio_evaluator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/python_stdio_evaluator.py b/yaksh/python_stdio_evaluator.py
index b618a0b..7ef3a7c 100644
--- a/yaksh/python_stdio_evaluator.py
+++ b/yaksh/python_stdio_evaluator.py
@@ -14,8 +14,8 @@ except ImportError:
from io import StringIO
# Local imports
-from .code_evaluator import CodeEvaluator
from .file_utils import copy_files, delete_files
+from .base_evaluator import BaseEvaluator
@contextmanager
@@ -28,7 +28,7 @@ def redirect_stdout():
sys.stdout = old_target # restore to the previous value
-class PythonStdioEvaluator(CodeEvaluator):
+class PythonStdioEvaluator(BaseEvaluator):
"""Tests the Python code obtained from Code Server"""
# def setup(self):