def test_futureImportFirst(self):
        self.flakes('''
        x = 5
        from __future__ import division
        ''', m.LateFutureImport)
        self.flakes('''
        from foo import bar
        from __future__ import division
        bar
        ''', m.LateFutureImport)
__future__ imports must come before anything else.
dataset/ETHPy150Open kevinw/pyflakes/pyflakes/test/test_imports.py/Test.test_futureImportFirst