Skip to content

Commit 2b10239

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e6d20c6 commit 2b10239

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

testing/test_hookcaller.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def test_hook_impl_initialization() -> None:
471471

472472
# Verify attributes are set correctly
473473
assert hook_impl.function == function
474-
assert hook_impl.argnames == ("x",)
474+
assert hook_impl.argnames == ("x",)
475475
assert hook_impl.kwargnames == ()
476476
assert hook_impl.plugin == plugin
477477
assert hook_impl.opts == hook_impl_opts
@@ -501,7 +501,6 @@ def test_hook_impl_representation() -> None:
501501

502502
# Verify __repr__ method
503503
expected_repr = (
504-
f"<HookImpl plugin_name={saferepr(plugin_name)}, "
505-
f"plugin={saferepr(plugin)}>"
504+
f"<HookImpl plugin_name={saferepr(plugin_name)}, " f"plugin={saferepr(plugin)}>"
506505
)
507-
assert repr(hook_impl) == expected_repr
506+
assert repr(hook_impl) == expected_repr

0 commit comments

Comments
 (0)