'L{SerialNumber._convertOther} raises L{TypeError} if the other
SerialNumber instance has a different C{serialBits} value.'

def test_convertOtherSerialBitsMismatch(self):

    s1 = SerialNumber(0, serialBits=8)
    s2 = SerialNumber(0, serialBits=16)
    self.assertRaises(TypeError, s1._convertOther, s2)
