diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-02-08 09:52:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-08 09:52:39 (GMT) |
commit | f87e616af038ee8963185e11b96841c81e8ef15a (patch) | |
tree | d82e998d6a49fb358fc6e8be655b228253a97d0f | |
parent | 7c5b01b5101923fc38274c491bd55239ee9f0416 (diff) | |
download | cpython-f87e616af038ee8963185e11b96841c81e8ef15a.zip cpython-f87e616af038ee8963185e11b96841c81e8ef15a.tar.gz cpython-f87e616af038ee8963185e11b96841c81e8ef15a.tar.bz2 |
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)
POST requests to http://www.example.com/ fail randomly.
(cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1)
Co-authored-by: Victor Stinner <vstinner@python.org>
-rw-r--r-- | Lib/test/test_urllib2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 1603153..b77f90a 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1785,6 +1785,8 @@ class MiscTests(unittest.TestCase): @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 support.transient_internet("http://www.example.com/"): opener = urllib.request.build_opener() |