summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests/test_code_evaluation.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-10-04 15:44:05 +0530
committerGitHub2016-10-04 15:44:05 +0530
commit91dd42214ba5ad88c5158b50a7746caa3841a883 (patch)
tree188f8aa284783e844eccffe350839d6a18f4da8b /yaksh/evaluator_tests/test_code_evaluation.py
parent6b08e56fe3cf70ffbcbd1ed432dde25babe48148 (diff)
parent59fa975a9fd0f6728cf62b1069abecac95a77b68 (diff)
downloadonline_test-91dd42214ba5ad88c5158b50a7746caa3841a883.tar.gz
online_test-91dd42214ba5ad88c5158b50a7746caa3841a883.tar.bz2
online_test-91dd42214ba5ad88c5158b50a7746caa3841a883.zip
Merge pull request #143 from adityacp/python2to3-migrate
Migration Python 2 to 3
Diffstat (limited to 'yaksh/evaluator_tests/test_code_evaluation.py')
-rw-r--r--yaksh/evaluator_tests/test_code_evaluation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yaksh/evaluator_tests/test_code_evaluation.py b/yaksh/evaluator_tests/test_code_evaluation.py
index cbca32d..88e0253 100644
--- a/yaksh/evaluator_tests/test_code_evaluation.py
+++ b/yaksh/evaluator_tests/test_code_evaluation.py
@@ -1,3 +1,4 @@
+from __future__ import unicode_literals
import unittest
import os
from yaksh import python_assertion_evaluator
@@ -38,7 +39,7 @@ class RegistryTestCase(unittest.TestCase):
"stdiobasedtestcase": stdout_evaluator_path
}
)
- self.assertEquals(evaluator_class, class_name)
+ self.assertEqual(evaluator_class, class_name)
def tearDown(self):
self.registry_object = None