cf-python icon indicating copy to clipboard operation
cf-python copied to clipboard

New tests for deprecated features

Open davidhassell opened this issue 3 years ago • 0 comments

It would be nice to have a suit of tests for all of the _DEPRECATED_* exceptions that trap deprecated features such as keyword arguments or their values.

It is suggested to have a new file (e.g. cf/tests/test_depreacted.py) that contains these for all classes. When it is time to remove the feature entirely, and hence the trap, the corresponding test will start to fail, and can be easily deleted, too.

davidhassell avatar Dec 06 '22 13:12 davidhassell