Skip to content

Commit

Permalink
Revert "not updating dtype when it is None"
Browse files Browse the repository at this point in the history
This reverts commit 1c45c35.
  • Loading branch information
ShreyanshBardia committed Aug 21, 2023
1 parent 5c845b6 commit 8860dc8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ivy_tests/test_ivy/helpers/function_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1650,9 +1650,7 @@ def test_frontend_method(
)

# change ivy dtypes to native dtypes
if "dtype" in kwargs_method_frontend and (
kwargs_method_frontend["dtype"] is not None
):
if "dtype" in kwargs_method_frontend:
kwargs_method_frontend["dtype"] = frontend_config.as_native_dtype(
kwargs_method_frontend["dtype"]
)
Expand Down

0 comments on commit 8860dc8

Please sign in to comment.