Skip to content

Commit 1eac7e8

Browse files
committed
We don't need to use astropy's warning filter
1 parent 07c9b76 commit 1eac7e8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

astroquery/conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from pytest_astropy_header.display import (PYTEST_HEADER_MODULES,
88
TESTED_VERSIONS)
99

10-
from astropy.tests.helper import enable_deprecations_as_exceptions
11-
1210

1311
def pytest_configure(config):
1412
config.option.astropy_header = True
@@ -35,10 +33,6 @@ def pytest_configure(config):
3533
except (NameError, KeyError):
3634
pass
3735

38-
# ignoring pyvo can be removed once we require >0.9.3
39-
enable_deprecations_as_exceptions(include_astropy_deprecations=False,
40-
warnings_to_ignore_entire_module=['regions', 'pyregion', 'html5lib'],)
41-
4236
# add '_testrun' to the version name so that the user-agent indicates that
4337
# it's being run in a test
4438
from . import version

0 commit comments

Comments
 (0)