Added note about finding slow tests

This commit is contained in:
Daniele Varrazzo 2017-02-02 02:09:59 +00:00
parent f24de0357f
commit 88a21689ce

View File

@ -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'):