#NEWLINE# def _check___ge__( self , test , expect ) : #NEWLINE# #INDENT# '\n        Harness to test if the FrameSet.__ge__ 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# if ( ( not test ) and ( not expect ) ) : #NEWLINE# #INDENT# self . assertFalse ( ( f >= FrameSet ( '1' ) ) ) #NEWLINE# self . assertFalse ( ( f >= FrameSet ( '-1' ) ) ) #NEWLINE# self . assertTrue ( ( f >= expect ) ) #NEWLINE# return #NEWLINE# #UNINDENT# for i in [ expect , expect [ : ( - 1 ) ] ] : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# r = FrameSet . from_iterable ( i ) #NEWLINE# #UNINDENT# except ParseException : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# should_succeed = ( f >= r ) #NEWLINE# m = 'FrameSet("{0}") >= FrameSet("{1}"' #NEWLINE# self . assertTrue ( should_succeed , m . format ( test , r ) ) #NEWLINE# m = 'FrameSet("{0}") >= FrameSet("{1}") returns {2}: got {3}' #NEWLINE# self . assertIsInstance ( should_succeed , bool , m . format ( test , test , bool , type ( should_succeed ) ) )