]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Correct pytest deprecation warning
authorGábor Lipták <gliptak@gmail.com>
Tue, 17 Jan 2017 17:13:34 +0000 (12:13 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 17 Jan 2017 17:20:08 +0000 (12:20 -0500)
WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.

Change-Id: I099c8207730ae1226f7357ff8be0d8ab149878ed
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/334
(cherry picked from commit f624a3ae8baadba4dabb55e5851a27d40a6cf73e)

setup.cfg

index 0fa44b0a85378f3af98cd37d1d20ed1def5b5e91..f84b2c5346b9c563b8c6263f3152ac1dcf0112f1 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,7 +8,7 @@ exclude = ^examples
 first-package-wins = true
 where = test
 
-[pytest]
+[tool:pytest]
 addopts= --tb native -v -r fxX --maxfail=25
 python_files=test/*test_*.py