Skip to content

Commit 69e82e1

Browse files
committed
used six.assertCountEqual
1 parent f492941 commit 69e82e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/feature_extraction/test_motifs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ def test_distance_calculator_for_complex_different_arrays(self):
4242

4343
def test_sliding_window(self):
4444
answer = motifs._sliding_window(sample_array1, 5)
45-
self.assertItemsEqual(answer[1], [-63., 5., 157., -21., -20.])
46-
self.assertItemsEqual(answer[-1], [8., -2., 1., 2., -9.])
45+
six.assertCountEqual(self, answer[1], [-63., 5., 157., -21., -20.])
46+
six.assertCountEqual(self, answer[-1], [8., -2., 1., 2., -9.])
4747

4848
def test_match_scores(self):
4949
answer = motifs._match_scores(sample_array1, sample_array1[5:10])

0 commit comments

Comments
 (0)