From dd2b72a88857fc6bd1391130f85514e92321aceb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 18 Mar 2024 12:02:01 +0100 Subject: [PATCH] gnulib-tool.py: Tweak last change. * pygnulib/GLModuleSystem.py (GLModule.isTests, GLModule.isNonTests): Update comments. --- ChangeLog | 6 ++++++ pygnulib/GLModuleSystem.py | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a545806fda..075a52f6b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2024-03-18 Bruno Haible + + gnulib-tool.py: Tweak last change. + * pygnulib/GLModuleSystem.py (GLModule.isTests, GLModule.isNonTests): + Update comments. + 2024-03-18 Collin Funk gnulib-tool.py: Follow gnulib-tool changes, part 64. diff --git a/pygnulib/GLModuleSystem.py b/pygnulib/GLModuleSystem.py index 2c5f36b6b0..4e4306fe37 100644 --- a/pygnulib/GLModuleSystem.py +++ b/pygnulib/GLModuleSystem.py @@ -307,14 +307,15 @@ class GLModule(object): def isTests(self): '''GLModule.isTests() -> bool - Check whether module is a -tests version of module.''' + Check whether module is a *-tests module or a module of + applicability 'all'.''' result = self.getApplicability() != 'main' return result def isNonTests(self): - '''GLModule.isTests() -> bool + '''GLModule.isNonTests() -> bool - Check whether module is not a -tests version of module.''' + Check whether module is not a *-tests module.''' result = not self.getName().endswith('-tests') return result -- 2.39.5