def METHOD_NAME(self) -> None:
    not_an_iobuf = [1, 2, 3]
    with self.assertRaises(TypeError):
        to_uppercase_string(not_an_iobuf)
    with self.assertRaises(TypeError):
        to_uppercase_string_heap(not_an_iobuf)