#NEWLINE# def test_notnull( ) : #NEWLINE# #INDENT# data = [ ( 'Alice' , ( - 100 ) , None ) , ( None , None , None ) , ( 'Bob' , 300 , 'New York City' ) ] #NEWLINE# t = symbol ( 't' , 'var * {name: ?string, amount: ?int32, city: ?string}' ) #NEWLINE# expr = t . name . notnull ( ) #NEWLINE# result = compute ( expr , data ) #NEWLINE# assert ( list ( result ) == [ True , False , True ] )