From: Serhiy Storchaka Date: Sun, 17 Oct 2021 12:06:40 +0000 (+0300) Subject: bpo-45229: Make test_http_cookiejar discoverable (GH-29004) X-Git-Tag: v3.11.0a2~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b3f0ceae919c1627094ff628c87184684a5cedd6;p=thirdparty%2FPython%2Fcpython.git bpo-45229: Make test_http_cookiejar discoverable (GH-29004) --- 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()