def test_ignoredInFunction(self):
        self.flakes('''
        def foo():
            import bar
            __all__ = ["bar"]
        ''', m.UnusedImport, m.UnusedVariable)
An C{__all__} definition does not suppress unused import warnings in a
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/TestSpecialAll.test_ignoredInFunction