Skip to content

Commit

Permalink
🤖 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-branch committed Jan 17, 2024
1 parent 88cffff commit 132f1fb
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions ivy_tests/test_ivy/helpers/function_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,14 +266,24 @@ def target_fn(instance, *args, **kwargs):
ret_from_target,
ret_np_flat_from_target,
) = get_ret_and_flattened_np_array(
fw, instance.__getattribute__(fn_name), *args, **kwargs, out=out, precision_mode=test_flags.precision_mode
fw,
instance.__getattribute__(fn_name),
*args,
**kwargs,
out=out,
precision_mode=test_flags.precision_mode,
)
else:
(
ret_from_target,
ret_np_flat_from_target,
) = get_ret_and_flattened_np_array(
fw, ivy_backend.__dict__[fn_name], *args, **kwargs, out=out, precision_mode=test_flags.precision_mode
fw,
ivy_backend.__dict__[fn_name],
*args,
**kwargs,
out=out,
precision_mode=test_flags.precision_mode,
)
test_ret = (
ret_from_target[getattr(ivy_backend.__dict__[fn_name], "out_index")]
Expand Down

0 comments on commit 132f1fb

Please sign in to comment.