def METHOD_NAME(self):
    lst = [4, 5, 6, 7]
    n = int((sys.maxsize*2+2) // len(lst))
    def mul(a, b): return a * b
    def imul(a, b): a *= b
    self.assertRaises((MemoryError, OverflowError), mul, lst, n)
    self.assertRaises((MemoryError, OverflowError), imul, lst, n)