summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests
diff options
context:
space:
mode:
authorankitjavalkar2016-09-29 18:10:09 +0530
committerankitjavalkar2016-09-30 10:37:59 +0530
commitcb0569a32422a195d4165ef405ac5560024dabda (patch)
tree2ae0a87b477b1fce6421a31e740dd4c3742ff956 /yaksh/evaluator_tests
parentbe024a511b63bcdf1433078aa7512266bd3ce9ba (diff)
downloadonline_test-cb0569a32422a195d4165ef405ac5560024dabda.tar.gz
online_test-cb0569a32422a195d4165ef405ac5560024dabda.tar.bz2
online_test-cb0569a32422a195d4165ef405ac5560024dabda.zip
Add unicode_literal import for Python2
Diffstat (limited to 'yaksh/evaluator_tests')
-rwxr-xr-xyaksh/evaluator_tests/test_bash_evaluation.py2
-rw-r--r--yaksh/evaluator_tests/test_code_evaluation.py2
-rwxr-xr-xyaksh/evaluator_tests/test_java_evaluation.py2
-rwxr-xr-xyaksh/evaluator_tests/test_python_evaluation.py3
-rw-r--r--yaksh/evaluator_tests/test_scilab_evaluation.py2
5 files changed, 5 insertions, 6 deletions
diff --git a/yaksh/evaluator_tests/test_bash_evaluation.py b/yaksh/evaluator_tests/test_bash_evaluation.py
index 7fdff48..25fe18d 100755
--- a/yaksh/evaluator_tests/test_bash_evaluation.py
+++ b/yaksh/evaluator_tests/test_bash_evaluation.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import unicode_literals
import unittest
import os
import shutil
diff --git a/yaksh/evaluator_tests/test_code_evaluation.py b/yaksh/evaluator_tests/test_code_evaluation.py
index 4efe119..88e0253 100644
--- a/yaksh/evaluator_tests/test_code_evaluation.py
+++ b/yaksh/evaluator_tests/test_code_evaluation.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import unicode_literals
import unittest
import os
from yaksh import python_assertion_evaluator
diff --git a/yaksh/evaluator_tests/test_java_evaluation.py b/yaksh/evaluator_tests/test_java_evaluation.py
index a9708e8..ebe05b8 100755
--- a/yaksh/evaluator_tests/test_java_evaluation.py
+++ b/yaksh/evaluator_tests/test_java_evaluation.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import unicode_literals
import unittest
import os
import shutil
diff --git a/yaksh/evaluator_tests/test_python_evaluation.py b/yaksh/evaluator_tests/test_python_evaluation.py
index b93aa13..45cc40d 100755
--- a/yaksh/evaluator_tests/test_python_evaluation.py
+++ b/yaksh/evaluator_tests/test_python_evaluation.py
@@ -1,5 +1,4 @@
-from __future__ import absolute_import
-from six.moves import input
+from __future__ import unicode_literals
import unittest
import os
import tempfile
diff --git a/yaksh/evaluator_tests/test_scilab_evaluation.py b/yaksh/evaluator_tests/test_scilab_evaluation.py
index 0bb7bfd..b366480 100644
--- a/yaksh/evaluator_tests/test_scilab_evaluation.py
+++ b/yaksh/evaluator_tests/test_scilab_evaluation.py
@@ -1,4 +1,4 @@
-from __future__ import absolute_import
+from __future__ import unicode_literals
import unittest
import os
import shutil