def _nose_tools_functions():
module = _BUILDER.string_build(<EOL>textwrap.dedent(<EOL>"""<STR_LIT>"""<EOL>)<EOL>)<EOL>try:<EOL><INDENT>case = next(module["<STR_LIT:a>"].infer())<EOL><DEDENT>except astroid.InferenceError:<EOL><INDENT>return<EOL><DEDENT>for method in case.methods():<EOL><INDENT>if method.name.startswith("<STR_LIT>") and "<STR_LIT:_>" not in method.name:<EOL><INDENT>pep8_name = _pep8(method.name)<EOL>yield pep8_name, astroid.BoundMethod(method, case)<EOL><DEDENT>if method.name == "<STR_LIT>":<EOL><INDENT>yield "<STR_LIT>", astroid.BoundMethod(method, case)<EOL><DEDENT><DEDENT>
Get an iterator of names and bound methods.