projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7877a76
)
Suppress unsafe *Cookie class warnings
author
Andrew M. Kuchling
<amk@amk.ca>
Sun, 29 Dec 2002 16:45:06 +0000
(16:45 +0000)
committer
Andrew M. Kuchling
<amk@amk.ca>
Sun, 29 Dec 2002 16:45:06 +0000
(16:45 +0000)
Lib/test/test_cookie.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_cookie.py
b/Lib/test/test_cookie.py
index 35befb209a0e63378ad98882c39f2fde11c0e968..65b0645f2355e83574035939557153137d2c7696 100644
(file)
--- 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 = [