From cb6109117d7ab4da0a8b1b996435e313787a7cde Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 3 Sep 2015 17:08:29 +0200 Subject: Adapt to changes in Python runner --- python/problems/introduction/fahrenheit_to_celsius/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/problems/introduction/fahrenheit_to_celsius/common.py b/python/problems/introduction/fahrenheit_to_celsius/common.py index a13687d..53a17f8 100644 --- a/python/problems/introduction/fahrenheit_to_celsius/common.py +++ b/python/problems/introduction/fahrenheit_to_celsius/common.py @@ -27,7 +27,7 @@ def test(code): # List of outputs: (expression result, stdout, stderr, exception). answers = run(code=code, inputs=test_in, timeout=1.0) - outputs = [ans[1] for ans in answers['results']] + outputs = [ans[1] for ans in answers] n_correct = 0 for output, correct in zip(outputs, test_out): -- cgit v1.2.1