Suppress unsafe *Cookie class warnings
authorAndrew M. Kuchling <amk@amk.ca>
Sun, 29 Dec 2002 16:45:06 +0000 (16:45 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sun, 29 Dec 2002 16:45:06 +0000 (16:45 +0000)
Lib/test/test_cookie.py

index 35befb209a0e63378ad98882c39f2fde11c0e968..65b0645f2355e83574035939557153137d2c7696 100644 (file)
@@ -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 = [