From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 17 Oct 2021 16:47:03 +0000 (-0700) Subject: bpo-45229: Make test_http_cookiejar discoverable (GH-29004) X-Git-Tag: v3.10.1~168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=65c1db794e0484e18142658c691141387c1dc2e4;p=thirdparty%2FPython%2Fcpython.git bpo-45229: Make test_http_cookiejar discoverable (GH-29004) (cherry picked from commit b3f0ceae919c1627094ff628c87184684a5cedd6) Co-authored-by: Serhiy Storchaka --- diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index fdf15efde12e..9450104d0b9a 100644 --- a/Lib/test/test_http_cookiejar.py +++ b/Lib/test/test_http_cookiejar.py @@ -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()