def test_fileno(self):
        req = urllib2.Request("http://www.example.com")
        opener = urllib2.build_opener()
        res = opener.open(req)
        try:
            res.fileno()
        except __HOLE__:
            self.fail("HTTPResponse object should return a valid fileno")
        finally:
            res.close()
dataset/ETHPy150Open francelabs/datafari/windows/python/Lib/test/test_urllib2net.py/OtherNetworkTests.test_fileno