def test_redefinedIfElseFunction():
    flakes('''
    if True:
        def a(): pass
    else:
        def a(): pass
    ''')
Test that shadowing a function definition twice in an if and else block does not raise a warning.
dataset/ETHPy150Open timothycrosley/frosted/frosted/test/test_other.py/test_redefinedIfElseFunction