Skip to content

Commit

Permalink
🤖 Lint code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-branch committed Feb 28, 2024
1 parent 13aa09b commit 8843022
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from ivy_tests.test_ivy.helpers import handle_frontend_test
import numpy as np


@handle_frontend_test(
fn_tree="sklearn.metrics.accuracy_score",
arrays_and_dtypes=helpers.dtype_and_values(
Expand Down Expand Up @@ -85,7 +86,6 @@ def test_sklearn_precision_score(
# If sample_weight is longer, truncate it
sample_weight = sample_weight[: len(values[0])]


# Detach tensors if they require grad before converting to NumPy arrays
if backend_fw == "torch":
values = [
Expand Down

0 comments on commit 8843022

Please sign in to comment.