

def test_get(self):
    y = Y()
    self.failUnlessEqual((y.x.a, y.x.b), (0, 0))
    self.failUnlessEqual(y.x.new_was_called, False)
    x = X()
    self.failUnlessEqual((x.a, x.b), (9, 12))
    self.failUnlessEqual(x.new_was_called, True)
    x.x = x
    self.failUnlessEqual((y.x.a, y.x.b), (9, 12))
    self.failUnlessEqual(y.x.new_was_called, False)

dataset/ETHPy150Open goldeneye-source/ges-python/lib/python2.6/ctypes/test/test_init.py InitTest.test_get/VarMisuse@92/106 `y`->`x`