'When called with the wrong number of arguments, or with arguments not of
type :py:obj:`str` and :py:obj:`int`, :py:obj:`OpenSSL.rand.add` raises :py:obj:`TypeError`.'

def test_add_wrong_args(self):

    self.assertRaises(TypeError, rand.add)
    self.assertRaises(TypeError, rand.add, b('foo'), None)
    self.assertRaises(TypeError, rand.add, None, 3)
    self.assertRaises(TypeError, rand.add, b('foo'), 3, None)
