def METHOD_NAME(self):
    self.assertRaises(RuntimeError, list, BadLen())
    self.assertRaises(RuntimeError, list, BadLengthHint())
    self.assertRaises(RuntimeError, [].extend, BadLen())
    self.assertRaises(RuntimeError, [].extend, BadLengthHint())
    b = bytearray(range(10))
    self.assertRaises(RuntimeError, b.extend, BadLen())
    self.assertRaises(RuntimeError, b.extend, BadLengthHint())