1 2 3 4 5 6 7 8 9 10 11 12 13
|
Author: Vincent Prat <vinceprat@free.fr>
Description: Ignore DeprecationWarning raised by the keyring module
--- a/astroquery/conftest.py
+++ b/astroquery/conftest.py
@@ -34,7 +34,7 @@
import astropy
if int(astropy.__version__[0]) > 1:
# The warnings_to_ignore_by_pyver parameter was added in astropy 2.0
- enable_deprecations_as_exceptions(modules_to_ignore_on_import=['requests'])
+ enable_deprecations_as_exceptions(modules_to_ignore_on_import=['keyring', 'requests'])
# This is to figure out the affiliated package version, rather than
# using Astropy's
|