File size: 737 Bytes
f80f41e
 
 
 
 
 
 
 
 
 
8b9e569
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# pytest.ini
[pytest]
; We skip resource_intensive tests by default
addopts = "-m not resource_intensive" 
asyncio_mode = auto
filterwarnings =
    ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning
    ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning
    ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
    ignore:The `use_auth_token` argument is deprecated and will be removed in v4 of SentenceTransformers.:FutureWarning
markers =
    resource_intensive: tests that are resource intensive
    enable_rate_limit: api tests that require enabling the request rate limit
    flaky: tests that exhibits intermittent or sporadic failure