def testIter(self):
        t = (0,1,2,3)
        i = 0

        it = t.__iter__()
        while True:
            try:
                item = it.next()
            except __HOLE__:
                break
            self.assertEqual(item, t[i])
            i += 1

    # XXX: This does not even compile
    #def test_tuple_unpacking(self):
    #    self.fail('Bug #527 Tuple unpacking not supported for more than one level')
    #    (a, b), c, (d, e) = x
    #    self.assertEqual((a, b, c, d, e), (1, 2, 3, 4, 5))

    # XXX: This does not even compile
    #def test_tuple_unpacking_in_loop(self):
    #    self.fail('Tuple unpacking in for-loops not supported for more than one level')
    #    x = ((1, 2), 3, (4, 5))
    #    for (a, b), c, (d, e) in [x, x, x]:
    #        self.assertEqual((a, b, c, d, e), (1, 2, 3, 4, 5))
dataset/ETHPy150Open anandology/pyjamas/examples/libtest/TupleTest.py/TupleTest.testIter