cf-python
cf-python copied to clipboard
New tests for deprecated features
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.