Index: urllib3-1.22/test/test_response.py
===================================================================
--- urllib3-1.22.orig/test/test_response.py
+++ urllib3-1.22/test/test_response.py
@@ -169,59 +169,6 @@ class TestResponse(object):
         assert resp.data == b'foo'
         assert resp.closed
 
-    def test_io(self, sock):
-        fp = BytesIO(b'foo')
-        resp = HTTPResponse(fp, preload_content=False)
-
-        assert not resp.closed
-        assert resp.readable()
-        assert not resp.writable()
-        with pytest.raises(IOError):
-            resp.fileno()
-
-        resp.close()
-        assert resp.closed
-
-        # Try closing with an `httplib.HTTPResponse`, because it has an
-        # `isclosed` method.
-        try:
-            hlr = httplib.HTTPResponse(sock)
-            resp2 = HTTPResponse(hlr, preload_content=False)
-            assert not resp2.closed
-            resp2.close()
-            assert resp2.closed
-        finally:
-            hlr.close()
-
-        # also try when only data is present.
-        resp3 = HTTPResponse('foodata')
-        with pytest.raises(IOError):
-            resp3.fileno()
-
-        resp3._fp = 2
-        # A corner case where _fp is present but doesn't have `closed`,
-        # `isclosed`, or `fileno`.  Unlikely, but possible.
-        assert resp3.closed
-        with pytest.raises(IOError):
-            resp3.fileno()
-
-    def test_io_closed_consistently(self, sock):
-        try:
-            hlr = httplib.HTTPResponse(sock)
-            hlr.fp = BytesIO(b'foo')
-            hlr.chunked = 0
-            hlr.length = 3
-            with HTTPResponse(hlr, preload_content=False) as resp:
-                assert not resp.closed
-                assert not resp._fp.isclosed()
-                assert not is_fp_closed(resp._fp)
-                resp.read()
-                assert resp.closed
-                assert resp._fp.isclosed()
-                assert is_fp_closed(resp._fp)
-        finally:
-            hlr.close()
-
     def test_io_bufferedreader(self):
         fp = BytesIO(b'foo')
         resp = HTTPResponse(fp, preload_content=False)
