Skip to content

Commit

Permalink
Fix test_scalar_casting param name
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed May 24, 2024
1 parent 4a04c6e commit 633691a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions array_api_tests/test_array_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,11 @@ def test_setitem_masking(shape, data):


def make_scalar_casting_param(
method_name: str, dtype_name: DataType, stype: ScalarType
method_name: str, dtype: DataType, stype: ScalarType
) -> Param:
dtype_name = dh.dtype_to_name[dtype]
return pytest.param(
method_name, dtype_name, stype, id=f"{method_name}({dtype_name})"
method_name, dtype, stype, id=f"{method_name}({dtype_name})"
)


Expand Down

0 comments on commit 633691a

Please sign in to comment.