Commit ce5a56e9 authored by Trent Nelson's avatar Trent Nelson

Merge heads.

parents fcb009c9 ba6a6cfb
...@@ -90,9 +90,10 @@ class CookieTests(unittest.TestCase): ...@@ -90,9 +90,10 @@ class CookieTests(unittest.TestCase):
def test_main(): def test_main():
run_unittest(CookieTests) run_unittest(CookieTests)
with check_warnings(('.+Cookie class is insecure; do not use it', if Cookie.__doc__ is not None:
DeprecationWarning)): with check_warnings(('.+Cookie class is insecure; do not use it',
run_doctest(Cookie) DeprecationWarning)):
run_doctest(Cookie)
if __name__ == '__main__': if __name__ == '__main__':
test_main() test_main()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment