def testCopying_09_LinkedValuesPreserved(self): p = TreeDict() p.a.x = 1 p.al = p.a q = p.copy() self.assert_(p.a is not q.a) self.assert_(q.al is q.a)