-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
pytest.ini
31 lines (23 loc) · 883 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
31
[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/jaraco/configparser/issues/42
ignore:You passed a bytestring:DeprecationWarning:backports.configparser
# workaround for https://github.com/jaraco/configparser/issues/43
ignore:Unicode equal comparison failed to convert:UnicodeWarning:backports.configparser