]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- add option to disable py.test warnings plugin;
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 May 2017 16:24:26 +0000 (12:24 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 23 May 2017 16:24:26 +0000 (12:24 -0400)
lift cap on py.test.
references: https://github.com/pytest-dev/pytest/issues/2430

Change-Id: Ieb8a6258ba1d15efa570d9cda2b51cf021499a23

setup.cfg
tox.ini

index d858a24354beaf22f6f254279cbd0753f86785ff..f79060c547400dce8dba5ab54606b11193f5f82f 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -9,7 +9,7 @@ first-package-wins = true
 where = test
 
 [tool:pytest]
-addopts= --tb native -v -r fxX --maxfail=25
+addopts= --tb native -v -r fxX --maxfail=25 -p no:warnings
 python_files=test/*test_*.py
 
 [upload]
diff --git a/tox.ini b/tox.ini
index 886b3fca1938d59a88a1140e39ff4927b7bf2f7c..3e3250a588b5c7c3c2c6ee0df0c63c6d746761e3 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -13,7 +13,7 @@ cov_args=--cov=sqlalchemy --cov-report term --cov-append --cov-report xml --excl
 usedevelop=
      cov: True
 
-deps=pytest<=3.0.7
+deps=pytest
      pytest-xdist
      mock
      # needed only for correct profiling results