summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index 996ceb7..919135f 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -425,7 +425,7 @@ def slow(f):
"""
@wraps(f)
def slow_(self):
- if os.environ.get('PSYCOPG2_TEST_FAST'):
+ if os.environ.get('PSYCOPG2_TEST_FAST', '0') != '0':
return self.skipTest("slow test")
return f(self)
return slow_