

def test_cmp_with_strict_dict_with_nonexisting_attrs(self):
    d = self.dtype(a=1, b=1, c=1, x=2)
    dd = StrictDict.create(('a', 'b', 'c', 'x'))(a=1, b=1, c=1, x=2)
    self.assertEqual(dd, dd)

dataset/ETHPy150Open MongoEngine/mongoengine/tests/test_datastructures.py TestSemiSrictDict.test_cmp_with_strict_dict_with_nonexisting_attrs/VarMisuse@71/91 `d`->`dd`