Skip to content

Commit

Permalink
update tox.ini to use pytest instead of nose
Browse files Browse the repository at this point in the history
  • Loading branch information
astanin committed Mar 23, 2020
1 parent dfaa28b commit 27e4bb9
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
envlist = lint, py27, py35, py36, py37, py38

[testenv]
commands = nosetests -v --with-doctest test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
passenv =
CURL_CA_BUNDLE
REQUESTS_CA_BUNDLE
Expand All @@ -26,73 +26,73 @@ deps =

[testenv:py27-extra]
basepython = python2.7
commands = nosetests -v --with-doctest test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
numpy
pandas
wcwidth


[testenv:py35]
basepython = python3.5
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest


[testenv:py35-extra]
basepython = python3.5
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
numpy
pandas
wcwidth


[testenv:py36]
basepython = python3.6
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest


[testenv:py36-extra]
basepython = python3.6
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
numpy
pandas
wcwidth

[testenv:py37]
basepython = python3.7
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest

[testenv:py37-extra]
basepython = python3.7
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
numpy
pandas
wcwidth

[testenv:py38]
basepython = python3.8
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest

[testenv:py38-extra]
basepython = python3.8
commands = nosetests -v --with-doctest -i 'py3test_*' test/ tabulate.py
commands = pytest -v --doctest-modules --ignore benchmark.py
deps =
nose
pytest
numpy
pandas
wcwidth
Expand Down

0 comments on commit 27e4bb9

Please sign in to comment.