def test_functionDecorator():
    flakes('''
    from somewhere import somedecorator

    def a(): pass
    a = somedecorator(a)
    ''')
Test that shadowing a function definition with a decorated version of that function does not raise a warning.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_functionDecorator