def test_setattr(self):
        proxy = self._makeProxy()
        proxy._module = 1
        self.assertNotEquals(object.__getattribute__(proxy, '_module'), 1)
        self.assertEqual(proxy._module, 1)
Setting attributes on L{twisted.python.deprecate._ModuleProxy} proxies
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_deprecate.py/ModuleProxyTests.test_setattr