def test_no_explicit_absolute_imports():
 parser = ParserWithRecovery(load_grammar(), u('1'), 'test.py')
 assert (not parser.module.has_explicit_absolute_import)

def test_no_explicit_absolute_imports ( ) : parser = ParserWithRecovery ( load_grammar ( ) , u ( '1' ) , 'test.py' ) assert ( not parser . module . has_explicit_absolute_import )
detect modules without from __future__ import absolute_import .