#NEWLINE# def test_it_colors_example_names_blue_in_tracebacks( self ) : #NEWLINE# #INDENT# example = mock . MagicMock ( ) #NEWLINE# example . __str__ . return_value = 'Example' #NEWLINE# example . group . __str__ . return_value = 'Thing' #NEWLINE# traceback = 'The\nTraceback\n' #NEWLINE# name = self . colored . color ( 'blue' , 'Thing: Example' ) #NEWLINE# self . assertEqual ( self . colored . traceback ( example , traceback ) , indent ( ( ( name + '\n' ) + traceback ) , ( 4 * ' ' ) ) )