mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
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/.
This commit is contained in:
parent
ced880fa62
commit
1f04c11640
1 changed files with 0 additions and 0 deletions
0
tests/test_litellm/llms/__init__.py
Normal file
0
tests/test_litellm/llms/__init__.py
Normal file
Loading…
Add table
Reference in a new issue