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

def test_egd_wrong_args(self):

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