def __setitem__(self, key, value): return api.set(self._o, key, api.unwrap(value))
def test_wrapping(self): s = '' self.assertIs(s, api.wrap(s)) self.assertIs(s, api.unwrap(s))
def test_wrapping(self): s = '' self.assertTrue(s is api.wrap(s)) self.assertTrue(s is api.unwrap(s))