Skip to content

Commit

Permalink
I-51 change np.array_equals to assert_array_equals due to regression …
Browse files Browse the repository at this point in the history
…in numpy version used by Python3.6
  • Loading branch information
IroNEDR committed Aug 15, 2024
1 parent e0b2851 commit cad31f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def test_regression(X_n20_scores) -> None:
input_data, expected_scores = X_n20_scores
clf = loop.LocalOutlierProbability(input_data).fit()
scores = clf.local_outlier_probabilities
assert np.array_equal(scores, expected_scores)
assert_array_equal(scores, expected_scores)


def test_loop_performance(X_n120) -> None:
Expand Down

0 comments on commit cad31f9

Please sign in to comment.