Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
lrafeei committed Nov 22, 2024
1 parent c3442fc commit b31d9f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/agent_unittests/test_package_version_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit b31d9f2

Please sign in to comment.