#NEWLINE# def test_log_level( self ) : #NEWLINE# #INDENT# with self . temporary_workdir ( ) as workdir : #NEWLINE# #INDENT# with self . temporary_cachedir ( ) as cachedir : #NEWLINE# #INDENT# target = 'testprojects/src/java/org/pantsbuild/testproject/dummies:compilation_failure_target' #NEWLINE# pants_run = self . run_test_compile ( workdir , cachedir , target , extra_args = [ '--no-colors' ] , clean_all = True ) #NEWLINE# self . assertIn ( '[warn] import sun.security.x509.X500Name;' , pants_run . stdout_data ) #NEWLINE# self . assertIn ( '[error]     System2.out.println("Hello World!");' , pants_run . stdout_data )