def configure(self, manager):
        """This backend needs to get WAYLAND_DISPLAY variable."""
        success, display = manager.c.eval("self.core.display_name")
        assert success
        self.env["WAYLAND_DISPLAY"] = display
This backend needs to get WAYLAND_DISPLAY variable.
test/backend/wayland/conftest.py