def test_streaming_dtor(self):
        # Ensure that the internal lcb_http_request_t is destroyed if the
        # Python object is destroyed before the results are done.

        ret = self.cb.query("beer", "brewery_beers", streaming=True)
        v = iter(ret)
        try:
            v.next()
        except __HOLE__:
            v.__next__()

        del ret
dataset/ETHPy150Open couchbase/couchbase-python-client/couchbase/tests/cases/view_iterator_t.py/ViewIteratorTest.test_streaming_dtor