Remove unused GEVENT_VERSION env variable.

This commit is contained in:
Hanno Schlichting 2017-07-24 21:12:48 +02:00
parent 4ebeb1550b
commit 698873a6cb
No known key found for this signature in database
GPG Key ID: A5C3A8301A902174
2 changed files with 0 additions and 11 deletions

View File

@ -5,7 +5,6 @@ INSTALL = $(BIN)/pip install
TOX_VENV ?= py27
BUILD_DIRS = bin build include lib lib64 man share
GEVENT_VERSION ?= 1.0.1
PYTHON_EXE = $(shell [ -f $(PYTHON) ] && echo $(PYTHON) || echo python)
PYPY = $(shell $(PYTHON_EXE) -c "import sys; print(getattr(sys, 'pypy_version_info', False) and 'yes' or 'no')")
TRAVIS ?= false
@ -33,7 +32,6 @@ build: $(PYTHON)
ifeq ($(GREENLET_SUPPORTED),yes)
$(INSTALL) -U -r requirements_eventlet.txt
$(INSTALL) -U -r requirements_gevent.txt
$(INSTALL) -f https://github.com/surfly/gevent/releases gevent==$(GEVENT_VERSION)
endif
ifneq ($(TRAVIS), true)
$(INSTALL) -U -r requirements_sphinx.txt

View File

@ -12,15 +12,6 @@ class TestBuildEnvironment(KazooTestCase):
if not os.environ.get('TRAVIS'):
raise SkipTest('Only run build config tests on Travis.')
def test_gevent_version(self):
try:
import gevent
except ImportError:
raise SkipTest('gevent not available.')
env_version = os.environ.get('GEVENT_VERSION')
if env_version:
self.assertEqual(env_version, gevent.__version__)
def test_zookeeper_version(self):
server_version = self.client.server_version()
server_version = '.'.join([str(i) for i in server_version])