#NEWLINE# def test_find_module_enabled_module( self ) : #NEWLINE# #INDENT# hook = sandbox . CModuleImportHook ( [ re . compile ( 'lxml\\.' ) ] ) #NEWLINE# self . assertIsNone ( hook . find_module ( 'lxml' ) ) #NEWLINE# lxml = __import__ ( 'lxml' ) #NEWLINE# self . assertIsNone ( hook . find_module ( 'lxml.etree' , lxml . __path__ ) )