From 182829831ecdc6666c1ba82aa6644b40bace1068 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Wed, 18 Dec 2024 19:28:31 -0700 Subject: [PATCH] Fixed bare except E722 --- tests/agent_evals/auto_test_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/agent_evals/auto_test_eval.py b/tests/agent_evals/auto_test_eval.py index b9c770fa..4c6985d4 100644 --- a/tests/agent_evals/auto_test_eval.py +++ b/tests/agent_evals/auto_test_eval.py @@ -98,7 +98,7 @@ class SwarmsIssueReporter: import swarms return swarms.__version__ - except: + except ImportError: return "Unknown" def _get_gpu_info(self) -> Tuple[bool, Optional[str]]: