def test_points_errors(self, obj): with pytest.raises(TypeError): get_maxima_indices(test_list_ints, points=obj)
def test_ion_intensities_errors(self, obj): with pytest.raises(TypeError): get_maxima_indices(obj)