summaryrefslogtreecommitdiff
path: root/yaksh/evaluator_tests
diff options
context:
space:
mode:
authormaheshgudi2018-07-04 17:07:01 +0530
committermaheshgudi2018-07-12 18:27:27 +0530
commitec0903e00ffab1f0f0e6e674637243cd6a548115 (patch)
treefcaefd1d2cd70cf9a04cde4bea33c9c1d05f5271 /yaksh/evaluator_tests
parent99f0c944fafec51b9327fe5dea01096842788e03 (diff)
downloadonline_test-ec0903e00ffab1f0f0e6e674637243cd6a548115.tar.gz
online_test-ec0903e00ffab1f0f0e6e674637243cd6a548115.tar.bz2
online_test-ec0903e00ffab1f0f0e6e674637243cd6a548115.zip
Make pep8 changes
Diffstat (limited to 'yaksh/evaluator_tests')
-rw-r--r--yaksh/evaluator_tests/test_c_cpp_evaluation.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/yaksh/evaluator_tests/test_c_cpp_evaluation.py b/yaksh/evaluator_tests/test_c_cpp_evaluation.py
index 17f7c82..14ed808 100644
--- a/yaksh/evaluator_tests/test_c_cpp_evaluation.py
+++ b/yaksh/evaluator_tests/test_c_cpp_evaluation.py
@@ -106,7 +106,6 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest):
for error in errors:
self.assertEqual(error['exception'], 'AssertionError')
-
def test_compilation_error(self):
# Given
user_answer = "int add(int a, int b)\n{return a+b}"
@@ -281,6 +280,7 @@ class CAssertionEvaluationTestCases(EvaluatorBaseTest):
for error in errors:
self.assertEqual(error['exception'], 'TestCaseError')
+
class CppStdIOEvaluationTestCases(EvaluatorBaseTest):
def setUp(self):
self.test_case_data = [{'expected_output': '11',
@@ -439,7 +439,6 @@ class CppStdIOEvaluationTestCases(EvaluatorBaseTest):
for error in errors:
self.assertEqual(error['exception'], 'CompilationError')
-
def test_infinite_loop(self):
# Given
user_answer = dedent("""