mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
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/.
0 lines
Python
0 lines
Python