mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-01-31 17:34:08 +03:00
Added note about finding slow tests
This commit is contained in:
parent
f24de0357f
commit
88a21689ce
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue
Block a user