def test_setattr(self):
        """
        Setting attributes on L{twisted.python.deprecate._ModuleProxy} proxies
        them through to the wrapped module.
        """
        proxy = self._makeProxy()
        proxy._module = 1
        self.assertNotEqual(object.__getattribute__(proxy, '_module'), 1)
        self.assertEqual(proxy._module, 1)

        Setting attributes on L{twisted.python.deprecate._ModuleProxy} proxies
        them through to the wrapped module.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/python/test/test_deprecate.py