Skip to content

Commit 33a6936

Browse files
committed
fix
1 parent aac5934 commit 33a6936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_hookcaller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,12 @@ def test_hook_conflict(pm: PluginManager) -> None:
411411
class Api1:
412412
@hookspec
413413
def conflict(self) -> None:
414-
pass
414+
"""Api1 hook"""
415415

416416
class Api2:
417417
@hookspec
418418
def conflict(self) -> None:
419-
pass
419+
"""Api2 hook"""
420420

421421
pm.add_hookspecs(Api1)
422422
with pytest.raises(ValueError) as exc:

0 commit comments

Comments
 (0)