From 16c982f987c3948e653839ad50d1c40bcdb2e63f Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Wed, 18 Aug 2021 10:35:49 +0200 Subject: =?UTF-8?q?Switch=20Tox=20to=20Pytest,=20supporting=20Python=203.6?= =?UTF-8?q?=20=E2=80=93=203.9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tox.ini | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 417bfe3..ef55f45 100644 --- a/tox.ini +++ b/tox.ini @@ -1,29 +1,14 @@ [tox] -envlist = py26,py27,py32,py33,py34,py35 +envlist = py{3.6,3.7,3.8,3.9} [testenv] -commands = unit2 discover - -[testenv:py26] -deps = - unittest2 - -[testenv:py27] -deps = - unittest2 - -[testenv:py32] -deps = - unittest2py3k - -[testenv:py33] -deps = - unittest2py3k - -[testenv:py34] -deps = - unittest2py3k - -[testenv:py35] -deps = - unittest2py3k +basepython = + py3.6: python3.6 + py3.7: python3.7 + py3.8: python3.8 + py3.9: python3.9 +commands = + {envpython} --version + pytest +deps = + pytest -- cgit v1.2.1