diff options
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | tests/conftest.py | 2 | ||||
-rw-r--r-- | tests/test_connection_pool.py | 2 |
3 files changed, 2 insertions, 4 deletions
@@ -36,7 +36,7 @@ python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.* hiredis = hiredis>=0.1.3 [flake8] -exclude = .venv,.tox,dist,docs,build,*.egg,redis_install,env,venv +exclude = .venv,.tox,dist,docs,build,*.egg,redis_install,env,venv,.undodir [bdist_wheel] universal = 1 diff --git a/tests/conftest.py b/tests/conftest.py index 4a745df..704a7e3 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -18,7 +18,6 @@ DEFAULT_REDIS_URL = "redis://localhost:6379/9" DEFAULT_REDIS_MASTER_HOST = "localhost" - def pytest_addoption(parser): parser.addoption('--redis-url', default=DEFAULT_REDIS_URL, action="store", @@ -30,7 +29,6 @@ def pytest_addoption(parser): " defaults to `%(default)s`") - def _get_info(redis_url): client = redis.Redis.from_url(redis_url) info = client.info() diff --git a/tests/test_connection_pool.py b/tests/test_connection_pool.py index 2f8ffbf..40ac340 100644 --- a/tests/test_connection_pool.py +++ b/tests/test_connection_pool.py @@ -129,7 +129,7 @@ class TestBlockingConnectionPool(object): # we should have waited at least 0.1 seconds assert time.time() - start >= 0.1 - def test_connection_pool_blocks_until_another_connection_released(self, master_host): + def test_connection_pool_blocks_until_another_connection_released(self, master_host): # noqa: E501 """ When out of connections, block until another connection is released to the pool |