[Python-checkins] bpo-45229: Make test_http_cookiejar discoverable (GH-29004)

miss-islington webhook-mailer at python.org
Sun Oct 17 12:47:02 EDT 2021


https://github.com/python/cpython/commit/1dbf9c86b25463b9bc695e434ac034a7e313ba01
commit: 1dbf9c86b25463b9bc695e434ac034a7e313ba01
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-10-17T09:46:55-07:00
summary:

bpo-45229: Make test_http_cookiejar discoverable (GH-29004)

(cherry picked from commit b3f0ceae919c1627094ff628c87184684a5cedd6)

Co-authored-by: Serhiy Storchaka <storchaka at gmail.com>

files:
M Lib/test/test_http_cookiejar.py

diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py
index 2d7077af6da39..83945509d7148 100644
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -1913,14 +1913,5 @@ def test_session_cookies(self):
         self.assertNotEqual(counter["session_before"], 0)
 
 
-def test_main(verbose=None):
-    test.support.run_unittest(
-        DateTimeTests,
-        HeaderTests,
-        CookieTests,
-        FileCookieJarTests,
-        LWPCookieTests,
-        )
-
 if __name__ == "__main__":
-    test_main(verbose=True)
+    unittest.main()



More information about the Python-checkins mailing list