You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE TO CONTRIBUTORS: This only applies to DeprecationWarnings, and only in test files. Any other warnings, as well as DeprecationWarnings in code, are bugs!
The tests for pending version 0.3.0 now raise (as of this date) 12 DeprecationWarnings. These are annoying, but pytest will only print one of them, and I'd rather not suppress them.
My theory is that if we annoy ourselves for the next 6-12 months, we're guaranteed to remove the deprecated behavior the very instant it seems reasonable to do so.
If nobody objects to this, I'd also like to pin the issue so that people don't spend the intervening months reporting it, and submitting PRs to fix it =P
The text was updated successfully, but these errors were encountered:
Testing for logs is generally not a good idea in my opinion, very fragile and doesn't actually test the functionality.
The warnings should however state in addition to it being deprecated something like "this will stop working completely in version 0.4.0" so it's clear that it's a planned change.
NOTE TO CONTRIBUTORS: This only applies to DeprecationWarnings, and only in test files. Any other warnings, as well as DeprecationWarnings in code, are bugs!
The tests for pending version
0.3.0
now raise (as of this date) 12 DeprecationWarnings. These are annoying, but pytest will only print one of them, and I'd rather not suppress them.My theory is that if we annoy ourselves for the next 6-12 months, we're guaranteed to remove the deprecated behavior the very instant it seems reasonable to do so.
If nobody objects to this, I'd also like to pin the issue so that people don't spend the intervening months reporting it, and submitting PRs to fix it =P
The text was updated successfully, but these errors were encountered: