summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-07-29 14:52:25 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-07-29 14:52:25 +0200
commit3a029a8cca4887c4ab61e90de8450b536a6cbb0c (patch)
treee4a6f9555e00f211592f204a0d0f422eecc65fbd /tox.ini
parentf9b50b606fe3f12b09dd36cb999238bf440d0cd1 (diff)
downloadruamel.yaml-3a029a8cca4887c4ab61e90de8450b536a6cbb0c.tar.gz
added captured DeprecationWarning test0.15.46
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini21
1 files changed, 4 insertions, 17 deletions
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