[libvirt] [glib PATCH 15/16] event-test: Handle exceptions in a py3 compatible way