Skip to content

What is __multicall__ warning? #2332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
amarao opened this issue Mar 25, 2017 · 3 comments
Closed

What is __multicall__ warning? #2332

amarao opened this issue Mar 25, 2017 · 3 comments
Labels
type: question general question, might be closed after 2 weeks of inactivity

Comments

@amarao
Copy link

amarao commented Mar 25, 2017

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!

@RonnyPfannschmidt RonnyPfannschmidt added the type: question general question, might be closed after 2 weeks of inactivity label Mar 26, 2017
@RonnyPfannschmidt
Copy link
Member

the pytest_timeout plugin you use seems to be outdated and using that old hook mechanism, i beleive it should be updated

@amarao
Copy link
Author

amarao commented Mar 27, 2017

Thank you. I reported it as issue for Ubuntu Xenial: https://bugs.launchpad.net/ubuntu/+source/python-pytest-timeout/+bug/1676301

@RonnyPfannschmidt
Copy link
Member

thank you for the followup, its good to see people act with care 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question general question, might be closed after 2 weeks of inactivity
Projects
None yet
Development

No branches or pull requests

2 participants