summaryrefslogtreecommitdiff
path: root/prolog/problems/lists/permute_2
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/lists/permute_2')
-rw-r--r--prolog/problems/lists/permute_2/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/prolog/problems/lists/permute_2/common.py b/prolog/problems/lists/permute_2/common.py
index 2568bbb..6a3cc7f 100644
--- a/prolog/problems/lists/permute_2/common.py
+++ b/prolog/problems/lists/permute_2/common.py
@@ -38,7 +38,7 @@ def test(code, aux_code):
for query, answers in test_cases:
if prolog.engine.check_answers(engine_id, query=query, answers=answers, timeout=1.0):
n_correct += 1
- except:
+ except socket.timeout:
pass
finally:
if engine_id: