From b564683d59b2fc93b0213cb70cbd401a46cc79ad Mon Sep 17 00:00:00 2001 From: Johnny Robeson Date: Mon, 4 Jul 2016 03:00:28 -0400 Subject: [PATCH] use -m nose for tests on python 2.x too --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 88fc6e409..f17abd9ae 100644 --- a/tox.ini +++ b/tox.ini @@ -39,8 +39,8 @@ deps = {test,cov}: {[_test]deps} py{27,34}-flake8: {[_flake8]deps} commands = - py27-cov: nosetests --with-coverage {posargs} - py27-test: nosetests {posargs} + py27-cov: python -m nose --with-coverage {posargs} + py27-test: python -m nose {posargs} py{34,35}-cov: python -bb -m nose --with-coverage {posargs} py{34,35}-test: python -bb -m nose {posargs} py27-flake8: flake8 --min-version 2.7 {posargs} {[_flake8]files}