@@ -609,14 +609,22 @@ def test_invalid_adv_getitem(self):
609
609
},
610
610
{"shape" : (2 , 3 , 4 ), "indexes" : (slice (None ), []), "value" : 1 },
611
611
{"shape" : (2 , 3 , 4 ), "indexes" : ([], []), "value" : 1 },
612
- # {'shape': (2, 3, 4), 'indexes': numpy.array([], dtype=numpy.bool_),
613
- # 'value': 1}, #dpctl-1913
614
- # {'shape': (2, 3, 4),
615
- # 'indexes': (slice(None), numpy.array([], dtype=numpy.bool_)),
616
- # 'value': 1}, #dpctl-1913
617
- # {'shape': (2, 3, 4), 'indexes': numpy.array([[], []], dtype=numpy.bool_),
618
- # 'value': numpy.random.uniform(size=(4,))}, #dpctl-1913
619
- # {'shape': (2, 3, 4), 'indexes': numpy.empty((0, 0, 4), bool), 'value': 1}, #dpctl-1913
612
+ {
613
+ "shape" : (2 , 3 , 4 ),
614
+ "indexes" : numpy .array ([], dtype = numpy .bool_ ),
615
+ "value" : 1 ,
616
+ },
617
+ {
618
+ "shape" : (2 , 3 , 4 ),
619
+ "indexes" : (slice (None ), numpy .array ([], dtype = numpy .bool_ )),
620
+ "value" : 1 ,
621
+ },
622
+ {
623
+ "shape" : (2 , 3 , 4 ),
624
+ "indexes" : numpy .array ([[], []], dtype = numpy .bool_ ),
625
+ "value" : numpy .random .uniform (size = (4 ,)),
626
+ },
627
+ {"shape" : (2 , 3 , 4 ), "indexes" : numpy .empty ((0 , 0 , 4 ), bool ), "value" : 1 },
620
628
# multiple masks
621
629
{"shape" : (2 , 3 , 4 ), "indexes" : (True , [True , False ]), "value" : 1 },
622
630
{"shape" : (2 , 3 , 4 ), "indexes" : (False , [True , False ]), "value" : 1 },
0 commit comments