From 30f7b6c267ea0f1480b5f0a49aae5b0bfbcc1fc4 Mon Sep 17 00:00:00 2001 From: Adam Chainz Date: Wed, 24 Aug 2016 11:21:58 +0100 Subject: Prevent pytest-warning on pytest 3.0+ Prevent `WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.`, as per pytest-dev/pytest#567. --- setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index 1ff4e7b..8c2b13c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,9 +6,9 @@ tag = True [bdist_wheel] universal = true -[pytest] +[tool:pytest] norecursedirs = build docs/_build *.egg .tox *.venv -addopts = +addopts = --verbose --tb=short --capture=no @@ -17,7 +17,7 @@ addopts = -rfEsxX --cov=pymemcache --cov-report=xml --cov-report=term-missing -m unit -markers = +markers = unit integration benchmark -- cgit v1.2.1