Skip to content

Commit

Permalink
Ignore deprecation warnings from regions.
Browse files Browse the repository at this point in the history
Bump pytest minversion to 6.
  • Loading branch information
pllim committed May 5, 2021
1 parent 1dfbe9e commit 9046d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion astroquery/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def pytest_configure(config):

# ignoring pyvo can be removed once we require >0.9.3
enable_deprecations_as_exceptions(include_astropy_deprecations=False,
warnings_to_ignore_entire_module=['pyregion', 'html5lib'],)
warnings_to_ignore_entire_module=['regions', 'pyregion', 'html5lib'],)

# add '_testrun' to the version name so that the user-agent indicates that
# it's being run in a test
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ upload-dir = docs/_build/html
show-response = 1

[tool:pytest]
minversion = 3.0
minversion = 6.0
norecursedirs = build docs/_build docs/gallery-examples
doctest_plus = enabled
text_file_format = rst
Expand Down

0 comments on commit 9046d67

Please sign in to comment.