You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So it's the underlying hookwrapper which is triggering this warning not pluggy code.
In this case the default implementation of pytest_pycollect_makeitem is raising StopIteration (deprecated in py3.6) instead of using return.
However, in order to support py3.6 we need to change _wrapped_call() to except RuntimeErrors alongside StopIterations.
^ Correction it is only the hookwrapper bodies which should change.
A RuntimeError would indicate a raised StopIteration which we should not expect.
Hi,
I'm getting lots of these warnings when running some of the pywikibot tests using pytest and python 3.5.
See: https://travis-ci.org/wikimedia/pywikibot-core/jobs/167265098#L493
The text was updated successfully, but these errors were encountered: