def attr_inherit_test(self): parent = BaseElement() child = BaseElement() parent.append(child) parent.x = 10 self.assertEqual(child.x, 10)