diff --git a/tests/agent_unittests/test_package_version_utils.py b/tests/agent_unittests/test_package_version_utils.py index 8d4b05343..ab56a71b1 100644 --- a/tests/agent_unittests/test_package_version_utils.py +++ b/tests/agent_unittests/test_package_version_utils.py @@ -163,8 +163,8 @@ def version(self): monkeypatch.setattr(pytest, "version", FakeModule.version, raising=False) monkeypatch.setattr( - sys.modules["importlib"].metadata, "version", lambda x: "1.2.3", raising=False - ) # pylint: disable=E1101 + sys.modules["importlib"].metadata, "version", lambda x: "1.2.3", raising=False # pylint: disable=E1101 + ) version = get_package_version("pytest") assert version == "1.2.3"