tantale / deprecated

Python @deprecated decorator to deprecate old python classes, functions or methods.
MIT License
298 stars 32 forks source link

Update expected class method deprecation msgs in tests for py3.9 #30

Closed mgorny closed 4 years ago

mgorny commented 4 years ago

Python 3.9 has fixed @classmethod combining with other decorators, making deprecated correctly report 'class method' (instead of function or static method). Update the tests to account for that.

Fixes #29

tantale commented 4 years ago

Thank you for testing with Py39.