summaryrefslogtreecommitdiff
path: root/Lib/test/test_md5.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-05-30 22:24:28 +0000
committerBrett Cannon <bcannon@gmail.com>2007-05-30 22:24:28 +0000
commit7eec2179081c86e1a79c5f17b43346e14fc8fb53 (patch)
treedb14dd573c2ec2801d4a622440f7d47235bec19f /Lib/test/test_md5.py
parentc249bdab92cc6fd933fb4972356a3fb0a0865ec4 (diff)
downloadcpython-git-7eec2179081c86e1a79c5f17b43346e14fc8fb53.tar.gz
Have md5 raise a DeprecationWarning as per PEP 4.
Diffstat (limited to 'Lib/test/test_md5.py')
-rw-r--r--Lib/test/test_md5.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_md5.py b/Lib/test/test_md5.py
index 1f08568508..2c0e8e2ca9 100644
--- a/Lib/test/test_md5.py
+++ b/Lib/test/test_md5.py
@@ -1,4 +1,7 @@
# Testing md5 module
+import warnings
+warnings.filterwarnings("ignore", "the md5 module is deprecated.*",
+ DeprecationWarning)
import unittest
from md5 import md5