summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-02 02:09:59 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-02 02:09:59 +0000
commit88a21689cee0e23ea4b2a6e3b423aa0c6c29c36a (patch)
tree0e41eaaf90fc69e8123356d8bafe60c0203824fb /tests/testutils.py
parentf24de0357ff4472aa8bb283980ea27b3ddd722e4 (diff)
downloadpsycopg2-88a21689cee0e23ea4b2a6e3b423aa0c6c29c36a.tar.gz
Added note about finding slow tests
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index b34a5a8..c36f674 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -457,7 +457,12 @@ class py3_raises_typeerror(object):
def slow(f):
- """Decorator to mark slow tests we may want to skip"""
+ """Decorator to mark slow tests we may want to skip
+
+ Note: in order to find slow tests you can run:
+
+ make check 2>&1 | ts -i "%.s" | sort -n
+ """
@wraps(f)
def slow_(self):
if os.environ.get('PSYCOPG2_TEST_FAST'):