diff options
author | Brett Cannon <bcannon@gmail.com> | 2007-05-30 22:24:28 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2007-05-30 22:24:28 (GMT) |
commit | 7eec2179081c86e1a79c5f17b43346e14fc8fb53 (patch) | |
tree | db14dd573c2ec2801d4a622440f7d47235bec19f /Lib/test/test_pep247.py | |
parent | c249bdab92cc6fd933fb4972356a3fb0a0865ec4 (diff) | |
download | cpython-7eec2179081c86e1a79c5f17b43346e14fc8fb53.zip cpython-7eec2179081c86e1a79c5f17b43346e14fc8fb53.tar.gz cpython-7eec2179081c86e1a79c5f17b43346e14fc8fb53.tar.bz2 |
Have md5 raise a DeprecationWarning as per PEP 4.
Diffstat (limited to 'Lib/test/test_pep247.py')
-rw-r--r-- | Lib/test/test_pep247.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_pep247.py b/Lib/test/test_pep247.py index 88f2461..1eb9462 100644 --- a/Lib/test/test_pep247.py +++ b/Lib/test/test_pep247.py @@ -3,6 +3,10 @@ # hashing algorithms. # +import warnings +warnings.filterwarnings("ignore", "the md5 module is deprecated.*", + DeprecationWarning) + import md5, sha, hmac def check_hash_module(module, key=None): |