def test_redefinedIfElseFunction(self):
        self.flakes('''
        if True:
            def a(): pass
        else:
            def a(): pass
        ''')
Test that shadowing a function definition twice in an if
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Test.test_redefinedIfElseFunction