From: Ole Streicher <olebole@debian.org>
Date: Thu, 24 Feb 2022 21:01:01 +0100
Subject: Don't turn deprecation warnings into errors

Taken from https://github.com/astropy/astropy/pull/9767
TST: Ignore remaining matplotlib warnings on Debian
---
 setup.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/setup.cfg b/setup.cfg
index 7d306f0..665777c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -62,6 +62,8 @@ asdf_schema_root = specutils/io/asdf/schemas
 asdf_schema_tests_enabled = true
 filterwarnings = 
 	error
+	ignore::DeprecationWarning
+	ignore::astropy.utils.exceptions.AstropyDeprecationWarning
 	ignore:distutils Version classes are deprecated:DeprecationWarning
 	ignore:numpy\.ndarray size changed:RuntimeWarning
 	ignore:numpy\.ufunc size changed:RuntimeWarning
