def testDeletionPI_11_Frozen_StructureOnly(self): p = TreeDict() p.a.x = 1 p.freeze('a', structure_only = True) p.popitem('a') self.assert_('a' not in p)
def testDeletionPI_08_Frozen(self): p = TreeDict() p.a.x = 1 p.freeze('a') p.popitem('a') self.assert_('a' not in p)