Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions xptests/dtype_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def result_type(*dtypes: DataType):
"ceil": numeric_dtypes,
"cos": float_dtypes,
"cosh": float_dtypes,
"divide": float_dtypes,
"divide": numeric_dtypes,
"equal": all_dtypes,
"exp": float_dtypes,
"expm1": float_dtypes,
Expand All @@ -236,7 +236,7 @@ def result_type(*dtypes: DataType):
"negative": numeric_dtypes,
"not_equal": all_dtypes,
"positive": numeric_dtypes,
"pow": float_dtypes,
"pow": numeric_dtypes,
"remainder": numeric_dtypes,
"round": numeric_dtypes,
"sign": numeric_dtypes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ def test_cosh(x):
ah.assert_exactly_equal(domain, codomain)


@pytest.mark.parametrize(binary_argnames, make_binary_params("divide", dh.float_dtypes))
@pytest.mark.parametrize(binary_argnames, make_binary_params("divide", dh.numeric_dtypes))
@given(data=st.data())
def test_divide(
func_name,
Expand Down Expand Up @@ -1252,7 +1252,7 @@ def test_positive(func_name, func, strat, data):
ah.assert_exactly_equal(out, x)


@pytest.mark.parametrize(binary_argnames, make_binary_params("pow", dh.float_dtypes))
@pytest.mark.parametrize(binary_argnames, make_binary_params("pow", dh.numeric_dtypes))
@given(data=st.data())
def test_pow(
func_name,
Expand Down