-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpytest.ini
More file actions
17 lines (16 loc) · 815 Bytes
/
pytest.ini
File metadata and controls
17 lines (16 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[pytest]
#
# Newer version of pytest-asyncio issue a DeprecationWarning unless
# asyncio_mode is specified. This is because it is planned to change
# the legacy default of automatically decorating async fixtures from
# automatc to strict (only all functions and fixtures have to be marked).
#
# But only very recent versions of pytest-asyncio versions support
# the asyncio_mode configuration setting and then issue a config warning,
# which can't be filtered.
#
# Thus, filter the Deprecationwarning of pytest-asyncio for some time
# until all users can be assumed to use the latest pytest-asyncio.
#
filterwarnings =
ignore:The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file.:DeprecationWarning