Skip to content

What is __multicall__ warning? #2332

Closed
Closed
@amarao

Description

@amarao

I writing an application which relies on pytest as method to perform tests of virtual machines. I wrote a simple plugin to provide VM-related fixtures. It works great, but pytest emits warning:

WI1 /usr/lib/python2.7/dist-packages/pytest_timeout.py:68 'pytest_runtest_protocol' hook uses deprecated __multicall__ argument.

Problem is that I never use __multicall__ and don't really understand what it is. Can you help clarify and fix it?

Actual code is here: https://github.com/serverscom/dibctl/blob/master/dibctl/pytest_runner.py
Stackoverflow question is here: http://stackoverflow.com/questions/43009164/what-is-multicall-argument-and-why-it-is-deprecated

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questiongeneral question, might be closed after 2 weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions