We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 225fafc commit 4aaf494Copy full SHA for 4aaf494
1 file changed
tests/unittests/integrations/crewai/test_crewai_tool.py
@@ -16,9 +16,11 @@
16
17
import pytest
18
19
-# Skip entire module if Python < 3.10 (must be before crewai_tool import)
+# Skip the module when the optional crewai dependency is not installed. Guard on
20
+# the third-party dep itself rather than the adk wrapper, so a real import bug in
21
+# crewai_tool surfaces as a failure instead of being silently skipped.
22
pytest.importorskip(
- "google.adk.integrations.crewai.crewai_tool", reason="Requires Python 3.10+"
23
+ "crewai.tools", reason="Requires crewai (google-adk[extensions])"
24
)
25
26
from google.adk.agents.context import Context
0 commit comments