Skip to content

Commit eaf5930

Browse files
committed
Minor bug fix on the tests
1 parent e68ea7b commit eaf5930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_peak_filters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_peak_matrix_fraction_filter(self):
113113
pm = filter_fraction(pm, 0.6, within_classes = True, class_tag_type = 'plate')
114114
self.assertEqual(pm.shape[1], 9)
115115
self.assertRaises(AttributeError, lambda: filter_fraction(pm, 1, within_classes = True, class_tag_type = 'time_point'))
116-
self.assertRaises(AttributeError, lambda: filter_fraction(pm, 1, within_classes = True))
116+
self.assertRaises(KeyError, lambda: filter_fraction(pm, 1, within_classes = True))
117117

118118
def test_peak_matrix_blank_filter(self):
119119
pm = self._createPeakMatrix()

0 commit comments

Comments
 (0)