def test_usedInGenExp(self):
        self.flakes('import fu; (fu for _ in range(1))')
        self.flakes('import fu; (1 for _ in range(1) if fu)')
Using a global in a generator expression results in no warnings.
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/TestSpecialAll.test_usedInGenExp