#NEWLINE# def test_vectorized_query_all_neighbors( self ) : #NEWLINE# #INDENT# ( d , i ) = self . kdtree . query ( np . zeros ( ( 2 , 4 , 3 ) ) , k = None , distance_upper_bound = 1.1 ) #NEWLINE# assert_equal ( np . shape ( d ) , ( 2 , 4 ) ) #NEWLINE# assert_equal ( np . shape ( i ) , ( 2 , 4 ) ) #NEWLINE# assert_ ( isinstance ( d [ ( 0 , 0 ) ] , list ) ) #NEWLINE# assert_ ( isinstance ( i [ ( 0 , 0 ) ] , list ) )