We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4359af commit 903653cCopy full SHA for 903653c
src/pluggy/_callers.py
@@ -29,7 +29,6 @@ def run_old_style_hookwrapper(
29
backward compatibility wrapper to run a old style hookwrapper as a wrapper
30
"""
31
32
-
33
teardown: Teardown = cast(Teardown, hook_impl.function(*args))
34
try:
35
next(teardown)
@@ -58,7 +57,7 @@ def _raise_wrapfail(
58
57
wrap_controller: Generator[None, object, object],
59
msg: str,
60
) -> NoReturn:
61
- co = wrap_controller.gi_code # type: ignore[union-attr]
+ co = wrap_controller.gi_code # type: ignore[attr-defined]
62
raise RuntimeError(
63
f"wrap_controller at {co.co_name!r} {co.co_filename}:{co.co_firstlineno} {msg}"
64
)
0 commit comments