mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Suppress unsafe *Cookie class warnings
This commit is contained in:
parent
7877a76107
commit
4464432d8c
1 changed files with 5 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue