-
Notifications
You must be signed in to change notification settings - Fork 73
/
pytest.ini
50 lines (37 loc) · 1.53 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
[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
# acknowledge that TestDistribution isn't a test
ignore:cannot collect test class 'TestDistribution'
ignore:Fallback spawn triggered
# ignore spurious and unactionable warnings
ignore:The frontend.OptionParser class will be replaced by a subclass of argparse.ArgumentParser in Docutils 0.21 or later.:DeprecationWarning:
ignore: The frontend.Option class will be removed in Docutils 0.21 or later.:DeprecationWarning:
# suppress warnings in deprecated compilers
ignore:(bcpp|msvc9?)compiler is deprecated
# suppress well known deprecation warning
ignore:distutils.log.Log is deprecated
# suppress known deprecation
ignore:Use shutil.which instead of find_executable:DeprecationWarning
# https://sourceforge.net/p/docutils/bugs/490/
ignore:'encoding' argument not specified::docutils.io
ignore:UTF-8 Mode affects locale.getpreferredencoding()::docutils.io
# suppress known deprecation
ignore:register command is deprecated
ignore:upload command is deprecated