Skip to content

Commit 0639379

Browse files
committed
test_duck_typing -> test_scalar_casting
Duck typing is the incorrect terminology here
1 parent 05b96ae commit 0639379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_tests/test_array_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def make_param(method_name: str, dtype: DataType, stype: ScalarType) -> Param:
200200
+ [make_param("__float__", d, float) for d in dh.float_dtypes],
201201
)
202202
@given(data=st.data())
203-
def test_duck_typing(method_name, dtype, stype, data):
203+
def test_scalar_casting(method_name, dtype, stype, data):
204204
x = data.draw(xps.arrays(dtype, shape=()), label="x")
205205
method = getattr(x, method_name)
206206
out = method()

0 commit comments

Comments
 (0)