Skip to content

Commit

Permalink
Add comment about nose naming requirement, Issue #32
Browse files Browse the repository at this point in the history
  • Loading branch information
briancurtin committed Jul 2, 2018
1 parent a8148ea commit 51bd048
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ def fail_if_not_removed(method):
:class:`~deprecation.UnsupportedWarning`
is raised while running the test method.
"""
# NOTE(briancurtin): Unless this is named test_inner, nose won't work
# properly. See Issue #32.
def test_inner(*args, **kwargs):
with warnings.catch_warnings(record=True) as caught_warnings:
warnings.simplefilter("always")
Expand Down

0 comments on commit 51bd048

Please sign in to comment.