From 1254f4d13242f715076cdbc6680012b2818951ac Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 18 Mar 2017 21:08:07 +0100 Subject: [PATCH] Add -bb when running tests Fixes #1989 --- tox.ini | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tox.ini b/tox.ini index 3659b2b3d..731a07831 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ deps = -r{toxinidir}/misc/requirements/requirements-tests.txt commands = {envpython} scripts/link_pyqt.py --tox {envdir} - {envpython} -m pytest {posargs:tests} + {envpython} -bb -m pytest {posargs:tests} # test envs with coverage @@ -31,7 +31,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} commands = {envpython} scripts/link_pyqt.py --tox {envdir} - {envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} + {envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} {envpython} scripts/dev/check_coverage.py {posargs} [testenv:py35-cov] @@ -41,7 +41,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} commands = {envpython} scripts/link_pyqt.py --tox {envdir} - {envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} + {envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} {envpython} scripts/dev/check_coverage.py {posargs} [testenv:py34-cov] @@ -51,7 +51,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} commands = {envpython} scripts/link_pyqt.py --tox {envdir} - {envpython} -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} + {envpython} -bb -m pytest --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests} {envpython} scripts/dev/check_coverage.py {posargs} # test envs with PyQt5 from PyPI @@ -65,7 +65,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} PyQt5==5.6 -commands = {envpython} -m pytest {posargs:tests} +commands = {envpython} -bb -m pytest {posargs:tests} [testenv:py35-pyqt571] basepython = python3.5 @@ -76,7 +76,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} PyQt5==5.7.1 -commands = {envpython} -m pytest {posargs:tests} +commands = {envpython} -bb -m pytest {posargs:tests} [testenv:py36-pyqt571] basepython = python3.6 @@ -87,7 +87,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} PyQt5==5.7.1 -commands = {envpython} -m pytest {posargs:tests} +commands = {envpython} -bb -m pytest {posargs:tests} [testenv:py35-pyqt58] basepython = python3.5 @@ -98,7 +98,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} PyQt5==5.8.1.1 -commands = {envpython} -m pytest {posargs:tests} +commands = {envpython} -bb -m pytest {posargs:tests} [testenv:py36-pyqt58] basepython = python3.6 @@ -109,7 +109,7 @@ passenv = {[testenv]passenv} deps = {[testenv]deps} PyQt5==5.8.1.1 -commands = {envpython} -m pytest {posargs:tests} +commands = {envpython} -bb -m pytest {posargs:tests} # other envs