Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 14, 2023
1 parent e6d20c6 commit 2b10239
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions testing/test_hookcaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ def test_hook_impl_initialization() -> None:

# Verify attributes are set correctly
assert hook_impl.function == function
assert hook_impl.argnames == ("x",)
assert hook_impl.argnames == ("x",)
assert hook_impl.kwargnames == ()
assert hook_impl.plugin == plugin
assert hook_impl.opts == hook_impl_opts
Expand Down Expand Up @@ -501,7 +501,6 @@ def test_hook_impl_representation() -> None:

# Verify __repr__ method
expected_repr = (
f"<HookImpl plugin_name={saferepr(plugin_name)}, "
f"plugin={saferepr(plugin)}>"
f"<HookImpl plugin_name={saferepr(plugin_name)}, " f"plugin={saferepr(plugin)}>"
)
assert repr(hook_impl) == expected_repr
assert repr(hook_impl) == expected_repr

0 comments on commit 2b10239

Please sign in to comment.