#NEWLINE# def test_inverse_match( self ) : #NEWLINE# #INDENT# x = Data ( id = [ 0 , 1 , 2 ] , x = [ 5 , 6 , 7 ] ) #NEWLINE# y = Data ( id = [ 2 , 1 , 0 ] , y = [ 1 , 2 , 3 ] ) #NEWLINE# x . join_on_key ( s , 'id' , 'id' ) #NEWLINE# s = y . new_subset ( ) #NEWLINE# s . subset_state = ( x . id [ 'x' ] > 6 ) #NEWLINE# assert_array_equal ( s . to_mask ( ) , [ True , False , False ] )