

def test_setattr_getattr_nonexisting_attr_succeeds(self):
    d = self.dtype()
    d.x = 1
    self.assertEqual(self.x, 1)

dataset/ETHPy150Open MongoEngine/mongoengine/tests/test_datastructures.py TestSemiSrictDict.test_setattr_getattr_nonexisting_attr_succeeds/VarMisuse@28/42 `d`->`self`