diff options
Diffstat (limited to 'prolog/problems/clp_fd/puzzle_abc_3')
-rw-r--r-- | prolog/problems/clp_fd/puzzle_abc_3/common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/prolog/problems/clp_fd/puzzle_abc_3/common.py b/prolog/problems/clp_fd/puzzle_abc_3/common.py index 9ad6d1b..95458ab 100644 --- a/prolog/problems/clp_fd/puzzle_abc_3/common.py +++ b/prolog/problems/clp_fd/puzzle_abc_3/common.py @@ -35,6 +35,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) |