mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +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):
|
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)
|
@wraps(f)
|
||||||
def slow_(self):
|
def slow_(self):
|
||||||
if os.environ.get('PSYCOPG2_TEST_FAST'):
|
if os.environ.get('PSYCOPG2_TEST_FAST'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user