#NEWLINE# def test_different_name( ) : #NEWLINE# #INDENT# logger = logging . getLogger ( 'experiment' ) #NEWLINE# with CaptureLog ( 'different' ) as captured : #NEWLINE# #INDENT# logger . warning ( 'Hello' ) #NEWLINE# #UNINDENT# assert ( len ( logger . records ) == 0 )