def set_func_description(fn, description):
    def _wrapper(*a_test_args):
        fn(*a_test_args)
    _wrapper.description = description
    return _wrapper
Wrap function and set description attr for nosetests to display.
dataset/ETHPy150Open formencode/formencode/formencode/tests/test_doctests.py/set_func_description