From b3f0ceae919c1627094ff628c87184684a5cedd6 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sun, 17 Oct 2021 15:06:40 +0300 Subject: bpo-45229: Make test_http_cookiejar discoverable (GH-29004) --- Lib/test/test_http_cookiejar.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index fdf15ef..9450104 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() -- cgit v0.12