def test_redefinedIfFunction(self):
        self.flakes('''
        if True:
            def a(): pass
            def a(): pass
        ''', m.RedefinedFunction)
Test that shadowing a function definition within an if block
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Test.test_redefinedIfFunction