#NEWLINE# def test_timeseries_periodindex( self ) : #NEWLINE# #INDENT# from pandas import period_range #NEWLINE# prng = period_range ( '1/1/2011' , '1/1/2012' , freq = 'M' ) #NEWLINE# ts = Series ( np . random . randn ( len ( new_ts ) ) , prng ) #NEWLINE# new_ts = self . round_trip_pickle ( ts ) #NEWLINE# self . assertEqual ( new_ts . index . freq , 'M' )