@@ -66,16 +66,15 @@ def test_result_type(dtypes):
66
66
67
67
@given (
68
68
dtypes = multi_promotable_dtypes (allow_bool = False ),
69
- kw = hh .kwargs (indexing = st .sampled_from (['xy' , 'ij' ])),
70
69
data = st .data (),
71
70
)
72
- def test_meshgrid (dtypes , kw , data ):
71
+ def test_meshgrid (dtypes , data ):
73
72
arrays = []
74
73
shapes = data .draw (hh .mutually_broadcastable_shapes (len (dtypes )), label = 'shapes' )
75
74
for i , (dtype , shape ) in enumerate (zip (dtypes , shapes ), 1 ):
76
75
x = data .draw (xps .arrays (dtype = dtype , shape = shape ), label = f'x{ i } ' )
77
76
arrays .append (x )
78
- out = xp .meshgrid (* arrays , ** kw )
77
+ out = xp .meshgrid (* arrays )
79
78
expected = dh .result_type (* dtypes )
80
79
test_case = f'meshgrid({ fmt_types (dtypes )} )'
81
80
for i , x in enumerate (out ):
@@ -85,15 +84,14 @@ def test_meshgrid(dtypes, kw, data):
85
84
@given (
86
85
shape = hh .shapes (min_dims = 1 ),
87
86
dtypes = multi_promotable_dtypes (allow_bool = False ),
88
- kw = hh .kwargs (axis = st .none () | st .just (0 )),
89
87
data = st .data (),
90
88
)
91
- def test_concat (shape , dtypes , kw , data ):
89
+ def test_concat (shape , dtypes , data ):
92
90
arrays = []
93
91
for i , dtype in enumerate (dtypes , 1 ):
94
92
x = data .draw (xps .arrays (dtype = dtype , shape = shape ), label = f'x{ i } ' )
95
93
arrays .append (x )
96
- out = xp .concat (arrays , ** kw )
94
+ out = xp .concat (arrays )
97
95
assert_dtype (
98
96
f'concat({ fmt_types (dtypes )} )' , 'out.dtype' , out .dtype , dh .result_type (* dtypes )
99
97
)
@@ -102,15 +100,14 @@ def test_concat(shape, dtypes, kw, data):
102
100
@given (
103
101
shape = hh .shapes (),
104
102
dtypes = multi_promotable_dtypes (),
105
- kw = hh .kwargs (axis = st .just (0 )),
106
103
data = st .data (),
107
104
)
108
- def test_stack (shape , dtypes , kw , data ):
105
+ def test_stack (shape , dtypes , data ):
109
106
arrays = []
110
107
for i , dtype in enumerate (dtypes , 1 ):
111
108
x = data .draw (xps .arrays (dtype = dtype , shape = shape ), label = f'x{ i } ' )
112
109
arrays .append (x )
113
- out = xp .stack (arrays , ** kw )
110
+ out = xp .stack (arrays )
114
111
assert_dtype (
115
112
f'stack({ fmt_types (dtypes )} )' , 'out.dtype' , out .dtype , dh .result_type (* dtypes )
116
113
)
0 commit comments