#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( TestDatetimeIndexOps , self ) . setUp ( ) #NEWLINE# mask = ( lambda x : ( isinstance ( x , DatetimeIndex ) or isinstance ( x , PeriodIndex ) ) ) #NEWLINE# self . is_valid_objs = [ o for o in self . objs if mask ( o ) ] #NEWLINE# self . not_valid_objs = [ o for o in self . objs if ( not mask ( o ) ) ]