[pytest]
testpaths =
    tests
# 仅对「无法在本仓修复根因」的已知上游/三方弃用告警做精确忽略，保持测试输出干净、
# 让本仓自身的新告警更醒目。本仓代码引发的告警一律不在此忽略，应在源码/用例处修复。
filterwarnings =
    ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning
    ignore:websockets.legacy is deprecated:DeprecationWarning
    ignore:websockets.InvalidStatusCode is deprecated:DeprecationWarning
    ignore:pkg_resources is deprecated as an API:DeprecationWarning
    ignore:Deprecated call to .pkg_resources.declare_namespace:DeprecationWarning
    ignore:'crypt' is deprecated:DeprecationWarning
    ignore:'audioop' is deprecated:DeprecationWarning
