diff options
Diffstat (limited to 'python/problems/lists_and_for')
-rw-r--r-- | python/problems/lists_and_for/calculator_polish/common.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/problems/lists_and_for/calculator_polish/common.py b/python/problems/lists_and_for/calculator_polish/common.py index cd18f3b..ab3dc54 100644 --- a/python/problems/lists_and_for/calculator_polish/common.py +++ b/python/problems/lists_and_for/calculator_polish/common.py @@ -71,8 +71,9 @@ def test(python, code, aux_code=''): if all(string_almost_equal(output, c, prec=2) for c in correct): n_correct += 1 else: - tin = test_in[i][1] - tout = correct + if not tin: + tin = test_in[i][1] + tout = correct passed = n_correct == len(test_in) |