From 388e2b83bf31adc748167510cc8aa7a341dcaf27 Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 31 May 2019 10:22:18 +0300 Subject: [PATCH] Fix Pytest4.x compatibility error According to pytest docs: ``` [pytest] section in setup.cfg files Removed in version 4.0. [pytest] sections in setup.cfg files should now be named [tool:pytest] to avoid conflicts with other distutils commands. ``` Signed-off-by: Stanislav Levin --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index e4c71bd..77e500e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ -[pytest] +[tool:pytest] norecursedirs = build docs/_build *.egg .tox *.venv tests/dummy* addopts = # Shows a line for every test -- 2.21.0