def test_unusedVariableNoLocals():
    flakes('''
    def a():
        locals()
        def a():
            b = 1
            return
    ''', m.UnusedVariable)
Search a nodes children for the first child with a given name
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_unusedVariableNoLocals--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/wsgi.py/XMLDeserializer.find_first_child_named