-
Notifications
You must be signed in to change notification settings - Fork 21
/
pytest.ini
64 lines (64 loc) · 4.12 KB
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[pytest]
addopts = --cov=scout_apm
--cov-report=term-missing:skip-covered
norecursedirs = src
filterwarnings =
error
error::DeprecationWarning
error::PendingDeprecationWarning
always::ImportWarning
; Can't add these because ResourceWarning doesn't exist on Python 2:
; always::ResourceWarning
; ignore::ResourceWarning:httpretty.core
; Too many things in the Python universe haven't updated for these moves,
; so always ignore them:
ignore:the imp module is deprecated.*:DeprecationWarning
ignore:the imp module is deprecated.*:PendingDeprecationWarning
ignore:Using or importing the ABCs from 'collections'.*:DeprecationWarning
; Deprecations in our libraries
ignore:dns.hash module will be removed.*:DeprecationWarning:dns.hash
ignore:Pipeline\.hmset\(\) is deprecated\. Use Pipeline\.hset\(\) instead\.:DeprecationWarning
; importlib-metadata 3.9 raises deprecation for kombu compat code.
ignore:SelectableGroups dict interface is deprecated. Use select.:DeprecationWarning
; eventlet warning against use of Python 2.7
ignore:Support for your Python version is deprecated and will be removed in the future:DeprecationWarning:eventlet
; Appears in both gettext and Django:
ignore:parameter codeset is deprecated:DeprecationWarning
ignore:"errors" is deprecated. Use "encoding_errors" instead:DeprecationWarning:redis.client
; Triggered on Python 2.7 only:
ignore:unicode for buf is no longer accepted, use bytes:DeprecationWarning:urllib3.contrib.pyopenssl
; Triggered by asgiref on Python 3.7+:
ignore:.*Task.all_tasks\(\) is deprecated, use asyncio.all_tasks\(\) instead.*:PendingDeprecationWarning
ignore:.*Task.all_tasks\(\) is deprecated, use asyncio.all_tasks\(\) instead.*:DeprecationWarning
; Triggered by asgiref on Python 3.10+:
ignore:There is no current event loop.*:DeprecationWarning
; cryptography raises a deprecation warning on Python 2
ignore:Python 2 is no longer supported by the Python core team\..*
; cryptography raises a deprecation warning on Python 3.5
ignore:Python 3\.5 support will be dropped in the next release.*:UserWarning
; cryptography raises a deprecation warning on Python 3.6
ignore:Python 3\.6 is no longer supported by the Python core team.*:UserWarning
; Django 3.1 warnings
; RemovedInDjango40Warning to be fixed in https://github.com/encode/django-rest-framework/issues/7406
ignore:django\.conf\.urls\.url\(\) is deprecated.*:PendingDeprecationWarning:rest_framework.routers
; Triggered by Django using Python 3.10+
ignore:The distutils package is deprecated and slated for removal in Python 3\.12\. Use setuptools or check PEP 632 for potential alternatives
; Triggered by cherrypy -> jarco/text -> importlib_resources
ignore:read_text is deprecated\. Use files\(\) instead\.:DeprecationWarning
ignore:open_text is deprecated\. Use files\(\) instead\.:DeprecationWarning
; Triggered by cherrypy -> cherrypy/__init__.py, pyramid/asset.py
ignore:pkg_resources is deprecated as an API:DeprecationWarning
ignore:.*pkg_resources.declare_namespace:DeprecationWarning
; ElasticSearch v8 will drop support for python < 3.6
ignore:Support for Python 3\.5 and earlier is deprecated and will be removed in v8\.0\.0:DeprecationWarning
; Triggered by sqlalchemy -> sqlalchemy/engine/base.py
ignore:.*These feature\(s\) are not compatible with SQLAlchemy 2\.0:DeprecationWarning
; Triggered by rq -> rq/job.py
ignore:The `push_connection` function is deprecated\. Pass the `connection` explicitly instead\.:DeprecationWarning
ignore:'cgi' is deprecated and slated for removal in Python 3.13
; Triggerd by celery with python 3.12
ignore:.*utcfromtimestamp\(\) is deprecated.*:DeprecationWarning
ignore:.*utcnow\(\) is deprecated.*:DeprecationWarning
ignore:.*broker_connection_retry configuration setting will no longer determine.*:PendingDeprecationWarning
; Triggered by CoreAgentManager with python 3.12
ignore:Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata.*:DeprecationWarning