

def test_init_succeeds_with_nonexisting_attrs(self):
    d = self.dtype(a=1, b=1, c=1, x=2)
    self.assertEqual((d.a, d.b, self.c, d.x), (1, 1, 1, 2))

dataset/ETHPy150Open MongoEngine/mongoengine/tests/test_datastructures.py TestSemiSrictDict.test_init_succeeds_with_nonexisting_attrs/VarMisuse@46/56 `d`->`self`