From 589d7bb63a8b2d96e97cc1ab6f889d7f2dd6621f Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Tue, 27 Oct 2015 16:04:59 +0100 Subject: [PATCH] Fix coverage --- cliquet/storage/postgresql/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cliquet/storage/postgresql/client.py b/cliquet/storage/postgresql/client.py index af8e5aa6..8c7efd28 100644 --- a/cliquet/storage/postgresql/client.py +++ b/cliquet/storage/postgresql/client.py @@ -83,7 +83,7 @@ def create_from_config(config, prefix=''): # XXX: Disable pooling at least during tests to avoid stalled tests. pypy_on_travis = (platform.python_implementation().lower() == 'pypy' and os.getenv('TRAVIS', False)) - if pypy_on_travis: + if pypy_on_travis: # pragma: no cover warnings.warn('Disable pooling with PyPy on TravisCI') settings = dict([(poolclass_key, sqlalchemy.pool.StaticPool)])