-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathpytest.ini
More file actions
18 lines (18 loc) · 938 Bytes
/
Copy pathpytest.ini
File metadata and controls
18 lines (18 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[pytest]
testpaths =
tests
timeout = 120
timeout_method = thread
asyncio_mode = strict
asyncio_default_fixture_loop_scope = function
asyncio_debug = true
# 仅对「无法在本仓修复根因」的已知上游/三方弃用告警做精确忽略,保持测试输出干净、
# 让本仓自身的新告警更醒目。本仓代码引发的告警一律不在此忽略,应在源码/用例处修复。
filterwarnings =
error::pytest.PytestUnhandledThreadExceptionWarning
ignore:'_UnionGenericAlias' is deprecated and slated for removal in Python 3\.17:DeprecationWarning:google\.genai\.types
ignore:"\\&" is an invalid escape sequence\..*:SyntaxWarning
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