summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-10-17 09:46:55 -0700
committerGitHub <noreply@github.com>2021-10-17 09:46:55 -0700
commit1dbf9c86b25463b9bc695e434ac034a7e313ba01 (patch)
treef0418aebdc9aadf0f9e4a5614433bc50801a53a8
parentac1b7a3319f268487c310ac7449703193f5eddad (diff)
downloadcpython-git-1dbf9c86b25463b9bc695e434ac034a7e313ba01.tar.gz
bpo-45229: Make test_http_cookiejar discoverable (GH-29004)
(cherry picked from commit b3f0ceae919c1627094ff628c87184684a5cedd6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
-rw-r--r--Lib/test/test_http_cookiejar.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py
index 2d7077af6d..83945509d7 100644
--- a/Lib/test/test_http_cookiejar.py
+++ b/Lib/test/test_http_cookiejar.py
@@ -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()