#NEWLINE# @ pytest . mark . parametrize ( 'keys' , [ [ 'Alice' ] , [ 'Bob' , 'Alice' ] ] ) #NEWLINE# def test_isin( keys ) : #NEWLINE# #INDENT# expr = t [ t . name . isin ( keys ) ] #NEWLINE# result = list ( compute ( expected , data ) ) #NEWLINE# expected = [ el for el in data if ( el [ 0 ] in keys ) ] #NEWLINE# assert ( result == expected )