File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed
Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 88 */_itertools.py
99 exercises.py
1010 */pip-run-*
11+ disable_warnings =
12+ couldnt-parse
1113
1214[report]
1315show_missing = True
Original file line number Diff line number Diff line change 11[pytest]
22norecursedirs =dist build .tox .eggs
33addopts =--doctest-modules
4- doctest_optionflags =ALLOW_UNICODE ELLIPSIS
54filterwarnings =
5+ # # upstream
6+
67 # Ensure ResourceWarnings are emitted
78 default::ResourceWarning
89
@@ -18,3 +19,14 @@ filterwarnings=
1819 ignore:<class ' pytest_flake8.Flake8Item' > is not using a cooperative constructor:pytest.PytestDeprecationWarning
1920 ignore:The \(fspath. py.path.local\) argument to Flake8Item is deprecated.:pytest.PytestDeprecationWarning
2021 ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning
22+
23+ # shopkeep/pytest-black#67
24+ ignore:' encoding' argument not specified::pytest_black
25+
26+ # realpython/pytest-mypy#152
27+ ignore:' encoding' argument not specified::pytest_mypy
28+
29+ # python/cpython#100750
30+ ignore:' encoding' argument not specified::platform
31+
32+ # # end upstream
Original file line number Diff line number Diff line change @@ -8,12 +8,15 @@ toxworkdir={env:TOX_WORK_DIR:.tox}
88
99[testenv]
1010deps =
11+ setenv =
12+ PYTHONWARNDEFAULTENCODING = 1
1113commands =
1214 pytest {posargs}
1315passenv =
1416 HOME
1517usedevelop = True
16- extras = testing
18+ extras =
19+ testing
1720
1821
1922[testenv:docs]
You can’t perform that action at this time.
0 commit comments