Skip to content

Commit

Permalink
FIX: Fix for OO
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Sep 23, 2017
1 parent 3cc7aa1 commit 386033d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scipy/signal/tests/test_windows.py
Expand Up @@ -543,5 +543,6 @@ def test_needs_params():


def test_deprecation():
assert 'signal.hann is deprecated' in dep_hann.__doc__
assert 'deprecated' not in windows.hann.__doc__
if dep_hann.__doc__ is not None: # can be None with `-OO` mode
assert_('signal.hann is deprecated' in dep_hann.__doc__)
assert_('deprecated' not in windows.hann.__doc__)

0 comments on commit 386033d

Please sign in to comment.