Skip to content

Commit

Permalink
Merge pull request #89 from pllim/deprecation-deprecated
Browse files Browse the repository at this point in the history
MNT: Stop using enable_deprecations_as_exceptions
  • Loading branch information
pllim committed Dec 31, 2021
2 parents 69874a2 + c8fafa8 commit d4b2796
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
except ImportError:
version = 'unknown'

from astropy.tests.helper import enable_deprecations_as_exceptions

# Uncomment the following line to treat all DeprecationWarnings as
# exceptions
enable_deprecations_as_exceptions()

# Uncomment and customize the following lines to add/remove entries from
# the list of packages for which version numbers are displayed when running
# the tests. Making it pass for KeyError is essential in some cases when
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ testpaths = "wss_tools" "docs"
norecursedirs = build docs/_build
astropy_header = true
xfail_strict = true
filterwarnings =
error
ignore:numpy.ufunc size changed:RuntimeWarning
ignore:numpy.ndarray size changed:RuntimeWarning

[metadata]
name = wss_tools
Expand Down

0 comments on commit d4b2796

Please sign in to comment.