summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cookie.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-12-29 16:45:06 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-12-29 16:45:06 (GMT)
commit4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f (patch)
treea046c009c92231092c0804a64ef73985cee723ba /Lib/test/test_cookie.py
parent7877a76107d285f18eac05d8a26d8c25fc4727f6 (diff)
downloadcpython-4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f.zip
cpython-4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f.tar.gz
cpython-4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f.tar.bz2
Suppress unsafe *Cookie class warnings
Diffstat (limited to 'Lib/test/test_cookie.py')
-rw-r--r--Lib/test/test_cookie.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_cookie.py b/Lib/test/test_cookie.py
index 35befb2..65b0645 100644
--- a/Lib/test/test_cookie.py
+++ b/Lib/test/test_cookie.py
@@ -3,6 +3,11 @@
from test.test_support import verify, verbose, run_doctest
import Cookie
+import warnings
+warnings.filterwarnings("ignore",
+ ".* class is insecure.*",
+ DeprecationWarning)
+
# Currently this only tests SimpleCookie
cases = [