def test_changingSizeWhileIterating(self):
        s = set([1,2,3])
        try:
            for i in s:
                s.update([4])
        except __HOLE__:
            pass
        else:
            self.fail("no exception when changing size during iteration")

#==============================================================================
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_set.py/TestExceptionPropagation.test_changingSizeWhileIterating