@@ -1339,6 +1339,7 @@ def test_non_integer_argument_errors(self):
1339
1339
1340
1340
assert_raises (TypeError , np .reshape , a , (1. , 1. , - 1 ))
1341
1341
assert_raises (TypeError , np .reshape , a , (np .array (1. ), - 1 ))
1342
+ pytest .xfail ("XXX: take not implemented" )
1342
1343
assert_raises (TypeError , np .take , a , [0 ], 1. )
1343
1344
assert_raises (TypeError , np .take , a , [0 ], np .float64 (1. ))
1344
1345
@@ -1370,6 +1371,7 @@ def test_bool_as_int_argument_errors(self):
1370
1371
# array is thus also deprecated, but not with the same message:
1371
1372
assert_raises (TypeError , operator .index , np .array (True ))
1372
1373
assert_warns (DeprecationWarning , operator .index , np .True_ )
1374
+ pytest .xfail ("XXX: take not implemented" )
1373
1375
assert_raises (TypeError , np .take , args = (a , [0 ], False ))
1374
1376
1375
1377
def test_boolean_indexing_weirdness (self ):
@@ -1424,6 +1426,7 @@ def test_array_to_index_error(self):
1424
1426
1425
1427
assert_raises (TypeError , operator .index , np .array ([1 ]))
1426
1428
assert_raises (TypeError , np .reshape , a , (a , - 1 ))
1429
+ pytest .xfail ("XXX: take not implemented" )
1427
1430
assert_raises (TypeError , np .take , a , [0 ], a )
1428
1431
1429
1432
0 commit comments