mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +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
|
from test.test_support import verify, verbose, run_doctest
|
||||||
import Cookie
|
import Cookie
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
warnings.filterwarnings("ignore",
|
||||||
|
".* class is insecure.*",
|
||||||
|
DeprecationWarning)
|
||||||
|
|
||||||
# Currently this only tests SimpleCookie
|
# Currently this only tests SimpleCookie
|
||||||
|
|
||||||
cases = [
|
cases = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue