#NEWLINE# def test_fail_non_euler_b( self ) : #NEWLINE# #INDENT# p = planning . Euler ( ) #NEWLINE# g = build_graph ( 'ab ba de ed' ) #NEWLINE# p . forced_plan = ( lambda * al : None ) #NEWLINE# try : #NEWLINE# #INDENT# p ( g , EhmNo ( ) , 'a' , '<context>' ) #NEWLINE# #UNINDENT# except AssertionError as e : #NEWLINE# #INDENT# self . assertEqual ( self . args , ( 'Graph is not connected' , ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assert_ ( False , 'Expected exception' )