MAINT: ignore cgi deprecation for now
@@ -41,6 +41,8 @@ filterwarnings =
ignore:distutils Version classes are deprecated:DeprecationWarning
# Remove along with astropy-helpers, once we switch to a new versioning scheme
ignore:Use setlocale:DeprecationWarning
+# Remove with fix for https://github.com/astropy/astroquery/issues/2628
+ ignore:\'cgi\' is deprecated and:DeprecationWarning
# Upstream issues in many packages, not clear whether we can do anything about these in astroquery
ignore:unclosed <socket.socket:ResourceWarning
ignore:unclosed <ssl.SSLSocket:ResourceWarning
