Skip to content

Commit

Permalink
MAINT: Catch warning
Browse files Browse the repository at this point in the history
Catch internally generated warning
  • Loading branch information
bashtage committed Aug 11, 2020
1 parent fd7453a commit 0dea2d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions statsmodels/stats/descriptivestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
)

DEPRECATION_MSG = """/
``Describe`` has been deprecated in favor of
``Description`` and it's simplified functional version, ``describe``.
These will be removed after 0.13.
``Describe`` has been deprecated in favor of ``Description`` and it's
simplified functional version, ``describe``. ``Describe`` will be removed
after 0.13.
"""

PERCENTILES = (1, 5, 10, 25, 50, 75, 90, 95, 99)
Expand Down
2 changes: 1 addition & 1 deletion statsmodels/stats/tests/test_descriptivestats.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)

pytestmark = pytest.mark.filterwarnings(
"ignore:``Describe`` has been deprecated:DeprecationWarning"
"ignore::DeprecationWarning:statsmodels.stats.descriptivestats"
)


Expand Down

0 comments on commit 0dea2d6

Please sign in to comment.