diff --git a/tests/utils/test_any_to_str.py b/tests/utils/test_any_to_str.py index e2789ef0..1402f3e9 100644 --- a/tests/utils/test_any_to_str.py +++ b/tests/utils/test_any_to_str.py @@ -1,12 +1,8 @@ import pytest -import logging +from loguru import logger from swarms.utils.any_to_str import any_to_str -# Configure logging for tests -logging.basicConfig(level=logging.DEBUG) -logger = logging.getLogger(__name__) - class TestAnyToStr: """Test cases for the any_to_str function.""" diff --git a/tests/utils/test_str_to_dict.py b/tests/utils/test_str_to_dict.py index 6b4212c5..1464daf5 100644 --- a/tests/utils/test_str_to_dict.py +++ b/tests/utils/test_str_to_dict.py @@ -1,13 +1,9 @@ import pytest import json -import logging +from loguru import logger from swarms.utils.str_to_dict import str_to_dict -# Configure logging for tests -logging.basicConfig(level=logging.DEBUG) -logger = logging.getLogger(__name__) - class TestStrToDict: """Test cases for the str_to_dict function."""