From 99f42d34f8e7f227b9be7d4a864ae92f9c71efbc Mon Sep 17 00:00:00 2001 From: smokestacklightnin <125844868+smokestacklightnin@users.noreply.github.com> Date: Sun, 31 Mar 2024 15:00:31 -0700 Subject: [PATCH] Fix logical error; Change `all` to `any` --- tests/assistants/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/assistants/test_api.py b/tests/assistants/test_api.py index fb8b860de..789e6530e 100644 --- a/tests/assistants/test_api.py +++ b/tests/assistants/test_api.py @@ -18,7 +18,7 @@ if isinstance(assistant, type) and issubclass(assistant, ApiAssistant) and assistant is not ApiAssistant - and not all(issubclass(assistant, to_skip) for to_skip in EXCLUDE_ASSISTANTS) + and not any(issubclass(assistant, to_skip) for to_skip in EXCLUDE_ASSISTANTS) ]