summaryrefslogtreecommitdiff
path: root/python/problems
diff options
context:
space:
mode:
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):