Suppress unsafe *Cookie class warnings

This commit is contained in:
Andrew M. Kuchling 2002-12-29 16:45:06 +00:00
parent 7877a76107
commit 4464432d8c
1 changed files with 5 additions and 0 deletions

View 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 = [