Skip to content

Commit

Permalink
fixed keyerror cpu and missing fixture errors in test_paddle_sort
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaTz committed Aug 16, 2023
1 parent ee24083 commit c8e459e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ivy/functional/frontends/paddle/tensor/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def argsort(x, /, *, axis=-1, descending=False, name=None):


@with_supported_dtypes(
{"2.5.0 and below": ("float32", "float64", "int32", "int64")},
{"2.5.1 and below": ("float32", "float64", "int32", "int64")},
"paddle",
)
@to_ivy_arrays_and_back
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def test_paddle_sort(
fn_tree,
frontend,
test_flags,
backend_fw,
):
input_dtype, x, axis = dtype_input_axis
helpers.test_frontend_function(
Expand All @@ -132,6 +133,7 @@ def test_paddle_sort(
test_flags=test_flags,
fn_tree=fn_tree,
on_device=on_device,
backend_to_test=backend_fw,
x=x[0],
axis=axis,
descending=descending,
Expand Down

0 comments on commit c8e459e

Please sign in to comment.