def rgb2hex(rgb, force_long=False):

    hx = '#' + ''.join(["%02x" % int(c*255 + 0.5 - FLOAT_ERROR) for c in rgb])

    if force_long == False and \
        hx[1] == hx[2] and \
        hx[3] == hx[4] and \
        hx[5] == hx[6]:
        return '#' + hx[1] + hx[3] + hx[5]

    return hx
Verify the number of plurals in the translation.
dataset/ETHPy150Open vaab/colour/colour.py/rgb2hex--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/lib/babel/messages/checkers.py/num_plurals