#NEWLINE# def test_acovf2d( ) : #NEWLINE# #INDENT# dta = sunspots . load_pandas ( ) . data #NEWLINE# dta . index = Index ( dates_from_range ( '1700' , '2008' ) ) #NEWLINE# del dta [ 'YEAR' ] #NEWLINE# res = acovf ( dta ) #NEWLINE# assert_equal ( res , acovf ( res . values ) ) #NEWLINE# X = np . random . random ( ( 10 , 2 ) ) #NEWLINE# assert_raises ( ValueError , acovf , X )