]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45229: Make test_http_cookiejar discoverable (GH-29004)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 17 Oct 2021 16:46:55 +0000 (09:46 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Oct 2021 16:46:55 +0000 (09:46 -0700)
(cherry picked from commit b3f0ceae919c1627094ff628c87184684a5cedd6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_http_cookiejar.py

index 2d7077af6da39e58afca19bc6292246fd42ca567..83945509d714822bebc8ea668e3d32d4a8c30f66 100644 (file)
@@ -1913,14 +1913,5 @@ class LWPCookieTests(unittest.TestCase):
         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()