def test_redefinedIfElse(self):
        self.flakes('''
        i = 2
        if i==1:
            import os
        else:
            import os
        os.path''')
Test that importing a module twice in if
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_imports.py/Test.test_redefinedIfElse