summaryrefslogtreecommitdiff
path: root/prolog/problems/sorting/pivoting_4
diff options
context:
space:
mode:
Diffstat (limited to 'prolog/problems/sorting/pivoting_4')
-rw-r--r--prolog/problems/sorting/pivoting_4/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/prolog/problems/sorting/pivoting_4/common.py b/prolog/problems/sorting/pivoting_4/common.py
index 92403c3..e558a8a 100644
--- a/prolog/problems/sorting/pivoting_4/common.py
+++ b/prolog/problems/sorting/pivoting_4/common.py
@@ -40,6 +40,8 @@ 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:
+ pass
finally:
if engine_id:
prolog.engine.destroy(engine_id)