#NEWLINE# @ network #NEWLINE# def test_fred_parts( self ) : #NEWLINE# #INDENT# raise nose . SkipTest ( 'buggy as of 2/18/14; maybe a data revision?' ) #NEWLINE# start = datetime ( 2010 , 1 , 1 ) #NEWLINE# end = datetime ( 2013 , 1 , 27 ) #NEWLINE# df = web . get_data_fred ( 'CPIAUCSL' , self , end ) #NEWLINE# self . assertEqual ( df . ix [ '2010-05-01' ] [ 0 ] , 217.23 ) #NEWLINE# t = df . CPIAUCSL . values #NEWLINE# self . assertTrue ( np . issubdtype ( t . dtype , np . floating ) ) #NEWLINE# self . assertEqual ( t . shape , ( 37 , ) )