From 3a029a8cca4887c4ab61e90de8450b536a6cbb0c Mon Sep 17 00:00:00 2001 From: Anthon van der Neut Date: Sun, 29 Jul 2018 14:52:25 +0200 Subject: added captured DeprecationWarning test --- tox.ini | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 2f6b704..c09b65f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,10 @@ [tox] -toworkdir = /data1/DATA/tox/ruamel.yaml +# toworkdir = /data1/DATA/tox/ruamel.yaml envlist = cs,py37,py27,py36,py35,py34,pypy,py27m [testenv] commands = - /bin/bash -c 'pytest -ra _test/test_*.py' + /bin/bash -c 'pytest _test/test_*.py' deps = pytest flake8==2.5.5 @@ -16,25 +16,12 @@ basepython = /opt/python/2.7.15m/bin/python [testenv:cs] basepython = python3.6 commands = - flake8 --exclude .tox,jabsy,jinja2,base,cmd,convert{posargs} - -# deprecation warning -[testenv:dw] -basepython = python3.7 -commands = - /bin/bash -c 'pytest _test/test_a*.py _test/test_z*.py' - -# deprecation warning fail -[testenv:dwf] -basepython = python3.7 -commands = - /bin/sed 's/collections.abc/collections/' -i .tox/dwf/lib/python3.7/site-packages/ruamel/yaml/comments.py - /bin/bash -c 'pytest --maxfail=2 _test/test_[a-vz]*.py' + flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs} [testenv:pep8] basepython = python3.6 commands = - flake8 --exclude .tox,jabsy,jinja2,base,cmd,convert{posargs} + flake8 --exclude ".tox,.#*,jabsy,jinja2,base,cmd,convert" {posargs} [flake8] show-source = True -- cgit v1.2.1