From: Harmon Date: Wed, 16 Oct 2019 13:59:46 +0000 (-0500) Subject: Use test extra in tox configuration X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dfd6dfc30ab6c70762928a3a7c66ec02665104a8;p=tweepy.git Use test extra in tox configuration Bump tox requirement to >= 2.4.0, the version where the “extras” environment option was added --- diff --git a/setup.py b/setup.py index 56a5dfa..2a142bf 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ else: tests_require = [ "mock>=1.0.1", "nose>=1.3.3", - "tox>=1.7.2", + "tox>=2.4.0", "vcrpy>=1.10.3", ] diff --git a/tox.ini b/tox.ini index fbf427f..b88c0d9 100644 --- a/tox.ini +++ b/tox.ini @@ -8,9 +8,6 @@ envlist = py27, py35, py36, py37 [testenv] commands = nosetests -v tests.test_api tests.test_cursors tests.test_resultset tests.test_utils -deps = - mock >= 1.0.1 - nose >= 1.3.3 - vcrpy >= 1.10.3 +extras = test setenv = USE_REPLAY = 1