summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-10-17 12:06:40 (GMT)
committerGitHub <noreply@github.com>2021-10-17 12:06:40 (GMT)
commitb3f0ceae919c1627094ff628c87184684a5cedd6 (patch)
treec62375c9580ac89ebd26e87ceb5092a26aa70573
parenta27f53bdd5b360fcfd94ca52e40f7c7e56597613 (diff)
downloadcpython-b3f0ceae919c1627094ff628c87184684a5cedd6.zip
cpython-b3f0ceae919c1627094ff628c87184684a5cedd6.tar.gz
cpython-b3f0ceae919c1627094ff628c87184684a5cedd6.tar.bz2
bpo-45229: Make test_http_cookiejar discoverable (GH-29004)
-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 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()