From e0a5dd801c8382848b28503a81c141d0d15f5833 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 23 Sep 2015 10:19:19 +0200 Subject: Minor changes to greatest problems. Mostly text corrections. --- python/problems/functions/greatest_negative/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/problems/functions/greatest_negative/common.py') diff --git a/python/problems/functions/greatest_negative/common.py b/python/problems/functions/greatest_negative/common.py index 01dfce3..2425bbc 100644 --- a/python/problems/functions/greatest_negative/common.py +++ b/python/problems/functions/greatest_negative/common.py @@ -30,6 +30,7 @@ hint_type = { 'return_greatest': Hint('return_greatest'), 'return_positive': Hint('return_positive'), 'return_absolute': Hint('return_absolute'), + 'return_indent': Hint('return_indent') } @@ -61,7 +62,6 @@ def test(python, code): hints = [{'id': 'test_results', 'args': {'passed': n_correct, 'total': len(test_in)}}] if tin: hints.append({'id': 'problematic_test_case', 'args': {'testin': str(tin), 'testout': str(tout)}}) - return n_correct == len(test_in), hints def hint(python, code): -- cgit v1.2.1