Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 28, 2024
1 parent b6b281e commit 35b848e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/sampling/test_clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ def test_transform(self, Birch_results, PC_weighted):
assert "PCAfeatures" in clustering_results.keys()
assert (clustering_results["labels"] == Birch_results["labels"]).all()
assert all(
(
(clustering_results["label_centers"].get(k) == v).all()
for k, v in Birch_results["label_centers"].items()
)
((clustering_results["label_centers"].get(k) == v).all() for k, v in Birch_results["label_centers"].items())
)
assert (clustering_results["PCAfeatures"] == Birch_results["PCAfeatures"]).all()
clustering_results_t002 = self.Birch_t002.transform(PC_weighted)
Expand Down

0 comments on commit 35b848e

Please sign in to comment.