From 777d451fb817a29ab111af6cbaee6ccb4d3e4e71 Mon Sep 17 00:00:00 2001 From: Avik Basu Date: Tue, 25 Jul 2023 16:17:40 -0400 Subject: [PATCH] fix: tests Signed-off-by: Avik Basu --- tests/models/test_threshold.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/models/test_threshold.py b/tests/models/test_threshold.py index d58d72f0..506beac0 100644 --- a/tests/models/test_threshold.py +++ b/tests/models/test_threshold.py @@ -68,7 +68,7 @@ def test_score_samples(self): clf = MahalanobisThreshold() clf.fit(self.x_train) y = clf.score_samples(self.x_test) - self.assertTupleEqual(self.x_test.shape, y.shape) + self.assertTupleEqual((self.x_test.shape[0],), y.shape) def test_score_samples_err(self): clf = MahalanobisThreshold()