def _nose_tools_functions():
    'Get an iterator of names and bound methods.'
    module = _BUILDER.string_build(textwrap.dedent('\n    import unittest\n\n    class Test(unittest.TestCase):\n        pass\n    a = Test()\n    '))
    try:
        case = next(module['a'].infer())
    except astroid.InferenceError:
        return
    for method in case.methods():
        if (method.name.startswith('assert') and ('_' not in method.name)):
            pep8_name = _pep8(method.name)
            (yield (pep8_name, astroid.BoundMethod(method, case)))
        if (method.name == 'assertEqual'):
            (yield ('assert_equals', astroid.BoundMethod(method, case)))
Get an iterator of names and bound methods.
def _nose_tools_functions():
    
    module = _BUILDER.string_build(textwrap.dedent('\n    import unittest\n\n    class Test(unittest.TestCase):\n        pass\n    a = Test()\n    '))
    try:
        case = next(module['a'].infer())
    except astroid.InferenceError:
        return
    for method in case.methods():
        if (method.name.startswith('assert') and ('_' not in method.name)):
            pep8_name = _pep8(method.name)
            (yield (pep8_name, astroid.BoundMethod(method, case)))
        if (method.name == 'assertEqual'):
            (yield ('assert_equals', astroid.BoundMethod(method, case)))