':py:obj:`OpenSSL.rand.bytes` raises :py:obj:`TypeError` if called with the wrong
number of arguments or with a non-:py:obj:`int` argument.'

def test_bytes_wrong_args(self):

    self.assertRaises(TypeError, rand.bytes)
    self.assertRaises(TypeError, rand.bytes, None)
    self.assertRaises(TypeError, rand.bytes, 3, None)
