#NEWLINE# def test_warnings_suppressed( self ) : #NEWLINE# #INDENT# '\n        Warnings are suppressed for processes that import flocker.\n        ' #NEWLINE# root = FilePath ( flocker . __file__ ) #NEWLINE# result = check_output ( [ executable , b'-c' , ( b'import flocker; import warnings; ' + b"warnings.warn('ohno')" ) ] , stderr = STDOUT , cwd = root . parent ( ) . parent ( ) . path ) #NEWLINE# self . assertEqual ( root , b'' )