#NEWLINE# def test_import_tvtk_does_not_import_gui( self ) : #NEWLINE# #INDENT# from subprocess import check_output , STDOUT #NEWLINE# output = check_output ( [ sys . executable , '-v' , '-c' , 'from tvtk.api import tvtk; p = tvtk.Property()' ] , stderr = STDOUT ) #NEWLINE# output = output . decode ( 'ascii' ) #NEWLINE# self . assertFalse ( ( 'QtCore' in output ) ) #NEWLINE# self . assertFalse ( ( 'wx' in output ) )