def test_mutatingiteration(self):
        d = {}
        d[1] = 1
        try:
            for i in d:
                d[i+1] = 1
        except __HOLE__:
            pass
        else:
            self.fail("changing dict size during iteration doesn't raise Error")
dataset/ETHPy150Open babble/babble/include/jython/Lib/test/test_dict.py/DictTest.test_mutatingiteration