summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests
diff options
context:
space:
mode:
authoradityacp2020-03-19 19:36:13 +0530
committeradityacp2020-03-19 19:36:13 +0530
commit9933ec7861faf8abb38224e4b2f5f75fcf9e857a (patch)
tree4c7fd6eeaff48b5ddfb6148dabd63aa9edd6c215 /yaksh/evaluator_tests
parent369b65aa7a4b9efe5fe8053a1402067e8cedb6e1 (diff)
downloadonline_test-9933ec7861faf8abb38224e4b2f5f75fcf9e857a.tar.gz
online_test-9933ec7861faf8abb38224e4b2f5f75fcf9e857a.tar.bz2
online_test-9933ec7861faf8abb38224e4b2f5f75fcf9e857a.zip
Remove usage of module six
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r--yaksh/evaluator_tests/test_python_evaluation.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/yaksh/evaluator_tests/test_python_evaluation.py b/yaksh/evaluator_tests/test_python_evaluation.py
index ad9b2c2..de973cf 100644
--- a/yaksh/evaluator_tests/test_python_evaluation.py
+++ b/yaksh/evaluator_tests/test_python_evaluation.py
@@ -523,7 +523,6 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest):
"weight": 0.0
}]
user_answer = dedent("""
- from six.moves import input
input_a = input()
input_b = input()
a = [int(i) for i in input_a.split(',')]
@@ -557,9 +556,8 @@ class PythonStdIOEvaluationTestCases(EvaluatorBaseTest):
"weight": 0.0
}]
user_answer = dedent("""
- from six.moves import input
- a = str(input())
- b = str(input())
+ a = input()
+ b = input()
print(a.count(b))
"""
)