summaryrefslogtreecommitdiff
path: root/python/problems
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-03 17:08:29 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-03 17:08:29 +0200
commitcb6109117d7ab4da0a8b1b996435e313787a7cde (patch)
tree50c7c63be339e04ef0844f9527bf25f4cd92adaa /python/problems
parent8b115b9d4e1832aea6a95240a44a874a69c3b86b (diff)
Adapt to changes in Python runner
Diffstat (limited to 'python/problems')
-rw-r--r--python/problems/introduction/fahrenheit_to_celsius/common.py2
1 files changed, 1 insertions, 1 deletions
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):