From 57792730c3ba277551637c25feca310377359fe1 Mon Sep 17 00:00:00 2001 From: lixfz Date: Fri, 15 Mar 2024 15:44:01 +0800 Subject: [PATCH] Fix pgmpy import err --- tests/why_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/why_test.py b/tests/why_test.py index e4607cd..066049b 100644 --- a/tests/why_test.py +++ b/tests/why_test.py @@ -20,7 +20,7 @@ _g = PgmProxy() is_pgm_ready = True -except ImportError: +except (ImportError, SyntaxError): is_pgm_ready = False