From 4464432d8c6423cb0d2b6ecaf91a18a6a0c6db3f Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Sun, 29 Dec 2002 16:45:06 +0000 Subject: [PATCH] Suppress unsafe *Cookie class warnings --- Lib/test/test_cookie.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/test/test_cookie.py b/Lib/test/test_cookie.py index 35befb209a..65b0645f23 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 = [ -- 2.40.0