def METHOD_NAME(test_case):
    with test_case.assertRaises(RuntimeError) as context:
        ref = flow.tensor([1, 2])
        value = flow.tensor([1, 2])
        start = [1, 2, 3]
        stop = [1, 2, 3]
        step = [1, 2, 3]
        flow._C.slice_update(ref, value, start, stop, step)
    test_case.assertTrue(
        "The size of slice tuple must be equal to the size of value tensor at dimension"
        in str(context.exception)
    )