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

serhiy-storchaka webhook-mailer at python.org
Sun Oct 17 08:06:49 EDT 2021


https://github.com/python/cpython/commit/b3f0ceae919c1627094ff628c87184684a5cedd6
commit: b3f0ceae919c1627094ff628c87184684a5cedd6
branch: main
author: Serhiy Storchaka <storchaka at gmail.com>
committer: serhiy-storchaka <storchaka at gmail.com>
date: 2021-10-17T15:06:40+03:00
summary:

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

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 fdf15efde12ef..9450104d0b9a7 100644
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -1920,14 +1920,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