'When called with the wrong number of arguments, or with a non-:py:obj:`str`
argument, :py:obj:`OpenSSL.rand.seed` raises :py:obj:`TypeError`.'

def test_seed_wrong_args(self):

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