#NEWLINE# def testSeries( self ) : #NEWLINE# #INDENT# ' Test series-method ' #NEWLINE# series = S3TimeSeriesEvent . series #NEWLINE# assertEqual = series . assertEqual #NEWLINE# assertEqual ( series ( None ) , set ( [ None ] ) ) #NEWLINE# assertEqual ( series ( 0 ) , set ( [ 0 ] ) ) #NEWLINE# assertEqual ( series ( 'A' ) , set ( [ 'A' ] ) ) #NEWLINE# assertEqual ( series ( [ ] ) , set ( ) ) #NEWLINE# assertEqual ( series ( [ [ ] , [ ] ] ) , set ( ) ) #NEWLINE# assertEqual ( series ( [ 'A' , 'B' ] ) , set ( [ 'A' , 'B' ] ) ) #NEWLINE# assertEqual ( series ( [ 'A' , None ] ) , set ( [ 'A' , None ] ) ) #NEWLINE# assertEqual ( series ( [ 'A' , [ ] ] ) , set ( [ 'A' ] ) ) #NEWLINE# assertEqual ( series ( [ 'A' , [ 'B' , 'C' ] ] ) , set ( [ 'A' , 'B' , 'C' ] ) ) #NEWLINE# assertEqual ( series ( [ 'A' , [ 'B' , 'A' ] ] ) , set ( [ 'A' , 'B' ] ) )