':py:func:`exception_from_error_queue` raises ``ValueError`` when it
encounters an OpenSSL error code which does not have a reason string.'

def test_exception_from_error_queue_nonexistent_reason(self):

    lib.ERR_put_error(lib.ERR_LIB_EVP, 0, 1112, '', 10)
    exc = self.assertRaises(ValueError, exception_from_error_queue, ValueError)
    self.assertEqual(exc.args[0][0][2], '')
