-
Notifications
You must be signed in to change notification settings - Fork 1
/
pytest.ini
30 lines (23 loc) · 835 Bytes
/
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
[pytest]
norecursedirs=dist build .tox .eggs
addopts=
--doctest-modules
--import-mode importlib
consider_namespace_packages=true
filterwarnings=
## upstream
# Ensure ResourceWarnings are emitted
default::ResourceWarning
# realpython/pytest-mypy#152
ignore:'encoding' argument not specified::pytest_mypy
# python/cpython#100750
ignore:'encoding' argument not specified::platform
# pypa/build#615
ignore:'encoding' argument not specified::build.env
# dateutil/dateutil#1284
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning:dateutil.tz.tz
## end upstream
# workaround for https://github.com/edgewall/genshi/issues/15
ignore:Flags not at the start of the expression::genshi.template.interpolation
# workaround for requests/toolbelt#228
ignore:Using or importing the ABCs::requests_toolbelt._compat:11