From 1f04c11640535b99add47466cbe92707bd1d2d0e Mon Sep 17 00:00:00 2001 From: STiFLeR7 Date: Fri, 11 Sep 2026 10:21:50 +0530 Subject: [PATCH] test(a2a): add tests/test_litellm/llms/__init__.py to fix a2a package collision Without it, pytest's rootdir-insertion walks up past tests/test_litellm/llms/a2a/ (which has __init__.py) to the first ancestor lacking one, landing on llms/ itself, so the a2a test package gets imported under the bare top-level name a2a instead of tests.test_litellm.llms.a2a. That collides with the real installed a2a-sdk package of the same name: whichever one gets imported first wins sys.modules['a2a'], and the other's collection fails. Reproduced by collecting tests/test_litellm/llms/langflow/test_langflow_a2a.py (which imports the real a2a-sdk) alongside tests/test_litellm/llms/a2a/. --- tests/test_litellm/llms/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/test_litellm/llms/__init__.py diff --git a/tests/test_litellm/llms/__init__.py b/tests/test_litellm/llms/__init__.py new file mode 100644 index 00000000000..e69de29bb2d