This update resolves the two issues leading to deprecation warnings during testing.
The utils.memoize function now uses inspect.signature if available (Python 3), and falls back on inspect.getargspec (Python 2, deprecated in 3.7, I guess?) otherwise.
The tests.helpers functions that generated parameters for tests were using a deprecated method for marking parameters with custom marks. Updated the generator functions to use the new method, which resolved those thousands of warnings.
This update resolves the two issues leading to deprecation warnings during testing.
The
utils.memoize
function now usesinspect.signature
if available (Python 3), and falls back oninspect.getargspec
(Python 2, deprecated in 3.7, I guess?) otherwise.The
tests.helpers
functions that generated parameters for tests were using a deprecated method for marking parameters with custom marks. Updated the generator functions to use the new method, which resolved those thousands of warnings.