Skip to content

Commit 14b5dda

Browse files
committed
Update pytest configuration
1 parent bf356ec commit 14b5dda

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

docs/main/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Development
1616
Thanks to `@illia-v (Illia Volochii) <https://github.com/illia-v>`_ for the
1717
PR (`#580 <https://github.com/ets-labs/python-dependency-injector/pull/580>`_).
1818
- Update copyright year.
19+
- Update pytest configuration.
1920

2021
4.39.1
2122
------

tests/.configs/pytest-py27.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[pytest]
22
testpaths = tests/unit/
33
python_files = test_*_py2_py3.py
4+
asyncio_mode = auto
45
filterwarnings =
56
ignore:Module \"dependency_injector.ext.aiohttp\" is deprecated since version 4\.0\.0:DeprecationWarning
67
ignore:Module \"dependency_injector.ext.flask\" is deprecated since version 4\.0\.0:DeprecationWarning
8+
ignore:Please use \`.*?\` from the \`scipy.*?\`(.*?)namespace is deprecated\.:DeprecationWarning
9+
ignore:The \`scipy(.*?)\` namespace is deprecated(.*):DeprecationWarning
710
ignore:ssl\.PROTOCOL_TLS is deprecated:DeprecationWarning:botocore.*

tests/.configs/pytest-py35.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[pytest]
22
testpaths = tests/unit/
33
python_files = test_*_py3.py
4+
asyncio_mode = auto
45
filterwarnings =
56
ignore:Module \"dependency_injector.ext.aiohttp\" is deprecated since version 4\.0\.0:DeprecationWarning
67
ignore:Module \"dependency_injector.ext.flask\" is deprecated since version 4\.0\.0:DeprecationWarning
8+
ignore:Please use \`.*?\` from the \`scipy.*?\`(.*?)namespace is deprecated\.:DeprecationWarning
9+
ignore:The \`scipy(.*?)\` namespace is deprecated(.*):DeprecationWarning
710
ignore:ssl\.PROTOCOL_TLS is deprecated:DeprecationWarning:botocore.*

tests/.configs/pytest.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[pytest]
22
testpaths = tests/unit/
33
python_files = test_*_py3*.py
4+
asyncio_mode = auto
45
filterwarnings =
56
ignore:Module \"dependency_injector.ext.aiohttp\" is deprecated since version 4\.0\.0:DeprecationWarning
67
ignore:Module \"dependency_injector.ext.flask\" is deprecated since version 4\.0\.0:DeprecationWarning
8+
ignore:Please use \`.*?\` from the \`scipy.*?\`(.*?)namespace is deprecated\.:DeprecationWarning
9+
ignore:The \`scipy(.*?)\` namespace is deprecated(.*):DeprecationWarning
710
ignore:ssl\.PROTOCOL_TLS is deprecated:DeprecationWarning:botocore.*

0 commit comments

Comments
 (0)