def testNextset(self):
        """testing nextset"""
        c = self.cursor()
        try:
            c.execute("select * from zxtesting where id = ?", [(3,), (4,)])
            f = c.fetchall()
            assert f, "expected results, got None"
            assert len(f) == 1, "expected [1], got [%d]" % (len(f))
            assert c.nextset(), "expected next set, got None"
            f = c.fetchall()
            assert f, "expected results after call to nextset(), got None"
            assert len(f) == 1, "expected [1], got [%d]" % (len(f))
        finally:
            c.close()
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/zxjdbc/zxtest.py/zxAPITestCase.testNextset/original