Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New tests for deprecated features #509

Open
davidhassell opened this issue Dec 6, 2022 · 0 comments
Open

New tests for deprecated features #509

davidhassell opened this issue Dec 6, 2022 · 0 comments
Labels
testing Issues related to units tests and their coverage

Comments

@davidhassell
Copy link
Collaborator

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 davidhassell added enhancement New feature or request testing Issues related to units tests and their coverage and removed enhancement New feature or request labels Dec 6, 2022
@davidhassell davidhassell added this to the 4.0.0 milestone Jan 6, 2023
@davidhassell davidhassell removed this from the 4.0.0 milestone Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Issues related to units tests and their coverage
Projects
None yet
Development

No branches or pull requests

1 participant