Commit 31050d60 authored by Kevin Modzelewski's avatar Kevin Modzelewski Committed by Kevin Modzelewski

Disable test_urllibnet.py.test_getcode

It fetches a webpage from a third-party server ("example.com")
and verifies the return code.  For some reason it's failing,
both for us and for CPython.
parent 784938e6
......@@ -100,6 +100,8 @@ class urlopenNetworkTests(unittest.TestCase):
open_url.close()
self.assertEqual(gotten_url, URL)
# Pyston change -- this test is flaky
@unittest.skip("Pyston change -- Not hitting 3rd party website")
def test_getcode(self):
# test getcode() with the fancy opener to get 404 error codes
URL = "http://www.example.com/XXXinvalidXXX"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment