mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 22:56:05 +00:00
## Summary Adds test coverage for the `stringify_value` utility function to handle complex nested data structures that weren't previously tested. ## Changes - Added `test_stringify_value_nested_structures()` to `test_strings.py` - Tests nested dictionaries within lists - Tests mixed-type lists with various data types - Verifies proper stringification of complex nested structures ## Why This Matters - Fills a gap in test coverage for edge cases - Ensures `stringify_value` handles complex data structures correctly - Improves confidence in string utility functions used throughout the codebase - Low risk addition that strengthens existing test suite ## Testing ```bash uv run --group test pytest libs/core/tests/unit_tests/utils/test_strings.py::test_stringify_value_nested_structures -v ``` This test addition follows the project's testing patterns and adds meaningful coverage without introducing any breaking changes. --------- Co-authored-by: Mason Daugherty <mason@langchain.dev>