python-setuptools/pytest-no-cov.patch
Petr Viktorin 55659cab0e Update to 49.6.0
Setuptools now has a "_distutils_hack" module that replaces the stdlib
"distutils" by setuptools._distutils whenever SETUPTOOLS_USE_DISTUTILS=local
is set. This will become the default in version 50.0.
The stdlib distutils module is deprecated and might be removed in some
future version of Python.
See: https://setuptools.readthedocs.io/en/latest/distutils-legacy.html

See CHANGES.rst for more changes.
2020-08-21 14:29:06 +02:00

11 lines
621 B
Diff

diff -U3 -r setuptools-49.6.0-orig/pytest.ini setuptools-49.6.0/pytest.ini
--- setuptools-49.6.0-orig/pytest.ini 2020-08-20 14:51:59.289846443 +0200
+++ setuptools-49.6.0/pytest.ini 2020-08-20 14:52:34.089859558 +0200
@@ -1,5 +1,5 @@
[pytest]
-addopts=--doctest-modules --flake8 --doctest-glob=pkg_resources/api_tests.txt --cov -r sxX
+addopts=--doctest-modules --doctest-glob=pkg_resources/api_tests.txt -r sxX
norecursedirs=dist build *.egg setuptools/extern pkg_resources/extern pkg_resources/tests/data tools .* setuptools/_vendor pkg_resources/_vendor
doctest_optionflags=ELLIPSIS ALLOW_UNICODE
filterwarnings =