summaryrefslogtreecommitdiff
path: root/passlib/tests/test_handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'passlib/tests/test_handlers.py')
-rw-r--r--passlib/tests/test_handlers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/passlib/tests/test_handlers.py b/passlib/tests/test_handlers.py
index 4547e56..580cc08 100644
--- a/passlib/tests/test_handlers.py
+++ b/passlib/tests/test_handlers.py
@@ -12,7 +12,7 @@ import warnings
from passlib import hash
from passlib.utils.compat import irange
from passlib.tests.utils import TestCase, HandlerCase, create_backend_case, \
- enable_option, b, catch_warnings, UserHandlerMixin, randintgauss
+ enable_option, b, catch_all_warnings, UserHandlerMixin, randintgauss
from passlib.utils.compat import u
#module
@@ -262,7 +262,7 @@ class _bcrypt_test(HandlerCase):
check_padding(bcrypt.encrypt("bob", rounds=bcrypt.min_rounds))
# some things that will raise warnings
- with catch_warnings(record=True) as wlog:
+ with catch_all_warnings(record=True) as wlog:
#
# test genconfig() corrects invalid salts & issues warning.
#