Fixing pytest config to raise deprecations
@@ -17,9 +17,26 @@ minversion = 6.0
norecursedirs = build docs/_build docs/gallery-examples
doctest_plus = enabled
text_file_format = rst
-addopts = -p no:warnings
xfail_strict = true
remote_data_strict = true
+filterwarnings =
+ error
+ ignore: Experimental:UserWarning:
+ ignore: The LCOGT archive:UserWarning:
+# This is a temporary measure, all of these should be fixed:
+ ignore::pytest.PytestUnraisableExceptionWarning
+ ignore::numpy.VisibleDeprecationWarning
+ ignore: unclosed file:ResourceWarning
+ ignore::UserWarning
+ ignore::astroquery.exceptions.InputWarning
+ ignore::astropy.utils.exceptions.AstropyDeprecationWarning
+ ignore::astropy.io.votable.exceptions.W50
+ ignore::astropy.io.votable.exceptions.W06
+ ignore::astropy.io.votable.exceptions.W03
+ ignore::astropy.io.votable.exceptions.W21
+ ignore::astropy.io.votable.exceptions.W42
+markers =
+ bigdata: marks tests that are expected to trigger a large download (deselect with '-m "not bigdata"')
[ah_bootstrap]
auto_use = True
