

def test_named_property_setter(self):
    d = self.d
    d.CompareMode = 42
    d.Item['foo'] = 1
    d.Item['bar'] = 'spam foo'
    d.Item['baz'] = 3.14
    d.assertAccessInterface(d)

dataset/ETHPy150Open enthought/comtypes/comtypes/test/test_dyndispatch.py Test.test_named_property_setter/VarMisuse@49/65 `self`->`d`