Astropy: Deprecate enable_deprecations_as_exceptions

Created on 3 Dec 2019  路  3Comments  路  Source: astropy/astropy

Description



As proposed by @mhvk in https://github.com/astropy/astropy/issues/9690#issuecomment-559154730 . The reasoning is that we can use pytest's filterwarnings in setup.cfg instead.

Additional context


This will affect all the other packages that use this feature as well, especially if they were created from our package template.

Once deprecation is in, a follow up issue needs to be opened for its complete removal after a deprecation period.

Refactoring testing

Most helpful comment

We could stop using it in the core package immediately though, long before we deprecate/remove it.

All 3 comments

馃槺 - it's used downstream a lot, so it needs to be a long deprecation and/or batchPR-ed.

We could stop using it in the core package immediately though, long before we deprecate/remove it.

First stage: #10503

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pllim picture pllim  路  3Comments

embray picture embray  路  3Comments

larrybradley picture larrybradley  路  3Comments

Iko-7 picture Iko-7  路  3Comments

JWDobken picture JWDobken  路  3Comments