def setup_filters():
 warnings.filterwarnings('ignore', category=sa_exc.SAPendingDeprecationWarning)
 warnings.filterwarnings('error', category=sa_exc.SADeprecationWarning)
 warnings.filterwarnings('error', category=sa_exc.SAWarning)
 warnings.filterwarnings('error', category=DeprecationWarning)
 warnings.filterwarnings('ignore', category=DeprecationWarning, message='.*StopIteration')
 warnings.filterwarnings('ignore', category=DeprecationWarning, message='.*inspect.getargspec')

def setup_filters ( ) : warnings . filterwarnings ( 'ignore' , category = sa_exc . SAPendingDeprecationWarning ) warnings . filterwarnings ( 'error' , category = sa_exc . SADeprecationWarning ) warnings . filterwarnings ( 'error' , category = sa_exc . SAWarning ) warnings . filterwarnings ( 'error' , category = DeprecationWarning ) warnings . filterwarnings ( 'ignore' , category = DeprecationWarning , message = '.*StopIteration' ) warnings . filterwarnings ( 'ignore' , category = DeprecationWarning , message = '.*inspect.getargspec' )
set global warning behavior for the test suite .