[pytest]
testpaths =
    tests
timeout = 120
timeout_method = thread
asyncio_mode = strict
asyncio_default_fixture_loop_scope = function
asyncio_debug = true
# 仅对「无法在本仓修复根因」的已知上游/三方弃用告警做精确忽略，保持测试输出干净、
# 让本仓自身的新告警更醒目。本仓代码引发的告警一律不在此忽略，应在源码/用例处修复。
filterwarnings =
    ignore:'_UnionGenericAlias' is deprecated and slated for removal in Python 3\.17:DeprecationWarning:google\.genai\.types
    ignore:invalid escape sequence '\\&':SyntaxWarning:oss2\.api
    ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning
    ignore:'crypt' is deprecated:DeprecationWarning
    ignore:'audioop' is deprecated:DeprecationWarning
    ignore:There is no current event loop:DeprecationWarning:lark_oapi\.ws\.client
