diff --git a/Lib/test/test_cookie.py b/Lib/test/test_cookie.py index 35befb209a0..65b0645f235 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 = [