def METHOD_NAME():
    s = pd.Series([0])
    # uint8
    info: Any = np.iinfo(np.uint8)
    s[0] = info.max
    assert repack.repack_series(s).dtypes.name == "uint8"
    s[0] += 1
    assert repack.repack_series(s).dtypes.name == "uint16"
    # uint16
    info2: Any = np.iinfo(np.uint16)
    s[0] = info2.max
    assert repack.repack_series(s).dtypes.name == "uint16"
    s[0] += 1
    assert repack.repack_series(s).dtypes.name == "uint32"
    # uint32
    info3: Any = np.iinfo(np.uint32)
    s[0] = info3.max
    assert repack.repack_series(s).dtypes.name == "uint32"
    # we don't bother using uint64, we just use int64
    s[0] += 1
    assert repack.repack_series(s).dtypes.name == "int64"