From 9f1db1aced9e8a726ae65e0747e8f133640a2cf7 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 6 Feb 2022 15:08:54 +0100 Subject: [PATCH] bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) POST requests to http://www.example.com/ fail randomly. (cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1) Co-authored-by: Victor Stinner --- Lib/test/test_urllib2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 9db23e6ce04bd5..4d341e357063a2 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1790,6 +1790,8 @@ class MyOtherHTTPHandler(urllib.request.HTTPHandler): @unittest.skipUnless(support.is_resource_enabled('network'), 'test requires network access') + # bpo-46648: test fails randomly with "http://www.example.com/" URL + @unittest.skipIf(True, "POST request to http://www.example.com/ fail randomly") def test_issue16464(self): with socket_helper.transient_internet("http://www.example.com/"): opener = urllib.request.build_opener() pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy