#NEWLINE# def test_residuals( self ) : #NEWLINE# #INDENT# resids = np . column_stack ( ( self . res1 . resid_pearson , self . res1 . resid_deviance , self . res1 . resid_working , self . res1 . resid_anscombe , self . res1 . resid_response ) ) #NEWLINE# assert_almost_equal ( resids , self . res2 . resids , self . decimal_resids )