ansible-later/testenv/lib/python2.7/site-packages/toolz/utils.py

10 lines
139 B
Python
Raw Normal View History

2019-04-23 11:04:27 +00:00
def raises(err, lamda):
try:
lamda()
return False
except err:
return True
no_default = '__no__default__'