def test_duplicateSubmoduleImport(self):
        self.flakes('''
        import fu.bar, fu.bar
        fu.bar
        ''', m.RedefinedWhileUnused)
        self.flakes('''
        import fu.bar
        import fu.bar
        fu.bar
        ''', m.RedefinedWhileUnused)
If a submodule of a package is imported twice, an unused import warning
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/Test.test_duplicateSubmoduleImport