mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-26 00:28:13 +00:00
Squashed 'packages/tools/' content from commit 78317b9c
git-subtree-dir: packages/tools git-subtree-split: 78317b9c127f18bd040c1d77e3c0840cdc9a5b38
This commit is contained in:
10
tests/tools/test_import_without_warnings.py
Normal file
10
tests/tools/test_import_without_warnings.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import pytest
|
||||
from pydantic.warnings import PydanticDeprecatedSince20
|
||||
|
||||
|
||||
@pytest.mark.filterwarnings("error", category=PydanticDeprecatedSince20)
|
||||
def test_import_tools_without_pydantic_deprecation_warnings():
|
||||
# This test is to ensure that the import of crewai_tools does not raise any Pydantic deprecation warnings.
|
||||
import crewai_tools
|
||||
|
||||
assert crewai_tools
|
||||
Reference in New Issue
Block a user