]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45229: Make test_http_cookiejar discoverable (GH-29004)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 17 Oct 2021 12:06:40 +0000 (15:06 +0300)
committerGitHub <noreply@github.com>
Sun, 17 Oct 2021 12:06:40 +0000 (15:06 +0300)
Lib/test/test_http_cookiejar.py

index fdf15efde12ef2ea251ba36a390ac77b6ad2edf7..9450104d0b9a75a76ad7a0961e1cc205663fab8f 100644 (file)
@@ -1920,14 +1920,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()