From: Andrew M. Kuchling Date: Sun, 29 Dec 2002 16:45:06 +0000 (+0000) Subject: Suppress unsafe *Cookie class warnings X-Git-Tag: v2.3c1~2855 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f;p=thirdparty%2FPython%2Fcpython.git Suppress unsafe *Cookie class warnings --- diff --git a/Lib/test/test_cookie.py b/Lib/test/test_cookie.py index 35befb209a0e..65b0645f2355 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 = [