While testing pluggy off the branch from #72, I came across this error:
if '__multicall__' in hookimpl.argnames:
warnings.warn(
"Support for __multicall__ is now deprecated and will be"
"removed in an upcoming release.",
> warnings.DeprecationWarning
)
E AttributeError: module 'warnings' has no attribute 'DeprecationWarning'
|
if '__multicall__' in hookimpl.argnames: |
|
warnings.warn( |
|
"Support for __multicall__ is now deprecated and will be" |
|
"removed in an upcoming release.", |
|
warnings.DeprecationWarning |
|
) |
And indeed warnings module doesn't have a DeprecationWarning.
We should add a test to catch this warnings (and any others we might have).
While testing
pluggyoff the branch from #72, I came across this error:pluggy/pluggy/__init__.py
Lines 656 to 661 in 557cd3f
And indeed
warningsmodule doesn't have aDeprecationWarning.We should add a test to catch this warnings (and any others we might have).