mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
fix(core): filter deprecation warning in tests
This commit is contained in:
@@ -3,9 +3,14 @@
|
||||
import sys
|
||||
import time
|
||||
import asyncio
|
||||
import warnings
|
||||
|
||||
import pytest
|
||||
|
||||
# Filter the deprecation warning from hanzo-tools-core
|
||||
# It's expected since we're testing the backwards-compat layer
|
||||
warnings.filterwarnings("ignore", message="hanzo-tools-core is deprecated")
|
||||
|
||||
|
||||
def _module_installed(module_name: str) -> bool:
|
||||
"""Check if a module is installed."""
|
||||
|
||||
Reference in New Issue
Block a user