Skip to content

Unknown pytest keyword argument after updating to 6.2.0 #698

@ondras

Description

@ondras

The argument used to be called hookwrapper. Our code broke after this rename.

   File "/usr/local/lib/python3.11/dist-packages/pytest_cov/plugin.py", line 318, in CovPlugin
     @pytest.hookimpl(wrapper=True)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 TypeError: HookimplMarker.__call__() got an unexpected keyword argument 'wrapper'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions