enable_deprecations_as_exceptions

astropy.tests.helper.enable_deprecations_as_exceptions(include_astropy_deprecations=True)[source] [edit on github]

Turn on the feature that turns deprecations into exceptions.