ansible-later/testenv/lib/python2.7/site-packages/toolz/utils.py
2019-04-23 13:04:27 +02:00

10 lines
139 B
Python

def raises(err, lamda):
try:
lamda()
return False
except err:
return True
no_default = '__no__default__'