From 755528b9b8caacb97019dd3932e023df3c87a95b Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 28 May 2025 08:17:00 +0000 Subject: [PATCH] Update error text --- pylint/plugins/hass_async_load_fixtures.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pylint/plugins/hass_async_load_fixtures.py b/pylint/plugins/hass_async_load_fixtures.py index 1702ff75a05..80885df7fe8 100644 --- a/pylint/plugins/hass_async_load_fixtures.py +++ b/pylint/plugins/hass_async_load_fixtures.py @@ -20,9 +20,9 @@ class HassLoadFixturesChecker(BaseChecker): priority = -1 msgs = { "W7481": ( - "Fixtures should be loaded asynchronously in test modules", + "Test fixture files should be loaded asynchronously", "hass-async-load-fixtures", - "Used when a fixture is loaded synchronously", + "Used when a test fixture file is loaded synchronously", ), } options = () @@ -31,7 +31,7 @@ class HassLoadFixturesChecker(BaseChecker): _in_test_module: bool def visit_module(self, node: nodes.Module) -> None: - """Populate matchers for a Module node.""" + """Visit a module definition.""" self._in_test_module = node.name.startswith("tests.") self._function_queue = []