mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-07-09 16:09:13 +00:00
8 lines
427 B
Python
8 lines
427 B
Python
from skyvern.forge.sdk.forge_log import setup_logger
|
|
|
|
# After SKY-7947 (lightweight Skyvern wheel), `import skyvern` no longer
|
|
# configures structlog as a side effect. Without this call the default
|
|
# rich-based exception renderer is active during tests, which raises
|
|
# `TypeError: 'Mock' object is not iterable` when it tries to introspect
|
|
# Mock locals in tracebacks (e.g. utils_test.py::TestParseApiResponse).
|
|
setup_logger()
|