test/pyxtest: remove unnecessary pass in X11ConnectionError

Empty exception subclasses do not need a pass body (ruff PIE790).

Assisted-by: AI
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2265>
This commit is contained in:
Olivier Fourdan 2026-07-29 10:06:53 +02:00 • committed by Enrico Weigelt
commit 68cce8491c

View file

@ -24,8 +24,6 @@ from proto.x11 import (
class X11ConnectionError(Exception):
"""Raised when the X11 connection fails."""
pass
@dataclass
class XExtensionData: