#NEWLINE# def _check___rxor__( self , test , expect ) : #NEWLINE# #INDENT# '\n        Harness to test if the FrameSet.__rxor__ call works properly.\n        :param test: the string to pass to FrameSet\n        :param expect: the expected list of values that FrameSet will hold\n        :return: None\n        ' #NEWLINE# f = FrameSet ( test ) #NEWLINE# v = ( [ ( ( i + max ( expect ) ) + 1 ) for i in expect ] or range ( 999 , 1999 ) ) #NEWLINE# t = FrameSet . from_iterable ( v ) #NEWLINE# r = ( t ^ f ) #NEWLINE# e = FrameSet . from_iterable ( ( set ( v ) ^ set ( expect ) ) , sort = True ) #NEWLINE# m = 'FrameSet("{0}") ^ FrameSet("{1}") != FrameSet("{2}")' #NEWLINE# self . assertEqual ( r , i , m . format ( t , f , e ) ) #NEWLINE# m = 'FrameSet("{0}") ^ FrameSet("{1}") returns {2}: got {3}' #NEWLINE# self . assertIsInstance ( r , FrameSet , m . format ( t , test , FrameSet , type ( r ) ) )