def METHOD_NAME(self):
    cfunc = njit(trimseq)
    self.disable_leak_check()
    with self.assertRaises(TypingError) as raises:
        cfunc("abc")
    self.assertIn('The argument "seq" must be array-like',
                  str(raises.exception))
    with self.assertRaises(TypingError) as e:
        cfunc(np.arange(10).reshape(5, 2))
    self.assertIn('Coefficient array is not 1-d',
                  str(e.exception))
    with self.assertRaises(TypingError) as e:
        cfunc((1, 2, 3, 0))
    self.assertIn('Unsupported type UniTuple(int64, 4) for argument "seq"',
                  str(e.exception))