test(arch-package): a docstring for the libxkbcommon-x11 test

The test's explanation was a comment; it's the method's docstring now, as CodeRabbit's
docstring-coverage check asks. No change to what it checks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zinadin Zidan
2026-10-28 03:53:01 +06:00
parent d5a8872113
commit 230d71cc34
+6 -3
View File
@@ -211,9 +211,12 @@ exit 0
self.assertIn("provides=(myapp=1.2.3-2)", pkgbuild)
def test_pkgbuild_depends_on_the_x11_keyboard_library(self):
# winit's X11 backend loads libxkbcommon-x11 at startup and panics without it, and Arch
# ships it apart from libxkbcommon: a package without it could not open its window on
# X11 or XWayland.
"""The PKGBUILD depends on libxkbcommon-x11 as well as libxkbcommon.
winit's X11 backend loads libxkbcommon-x11 at startup and panics without it, and Arch
ships it apart from libxkbcommon: a package without it could not open its window on
X11 or XWayland.
"""
with tempfile.TemporaryDirectory() as tmpdir:
tmp_path = Path(tmpdir)
tarball = self._create_fixture_tarball(tmp_path)