def test_redefinedIfElseFunction(self):
        self.flakes('''
        if True:
            def a(): pass
        else:
            def a(): pass
        ''')
Convert the given URL into a legal URL by escaping unsafe characters
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_other.py/Test.test_redefinedIfElseFunction--crossover with--dataset/ETHPy150Open scrapy/w3lib/w3lib/url.py/safe_url_string