def test_explicit_absolute_imports():
 parser = ParserWithRecovery(load_grammar(), u('from __future__ import absolute_import'), 'test.py')
 assert parser.module.has_explicit_absolute_import

def test_explicit_absolute_imports ( ) : parser = ParserWithRecovery ( load_grammar ( ) , u ( 'from __future__ import absolute_import' ) , 'test.py' ) assert parser . module . has_explicit_absolute_import
detect modules with from __future__ import absolute_import .