예제 #1
0
 def __setitem__(self, key, value):
     return api.set(self._o, key, api.unwrap(value))
예제 #2
0
 def __setitem__(self, key, value):
     return api.set(self._o, key, api.unwrap(value))
예제 #3
0
 def test_wrapping(self):
     s = ''
     self.assertIs(s, api.wrap(s))
     self.assertIs(s, api.unwrap(s))
예제 #4
0
 def test_wrapping(self):
     s = ''
     self.assertTrue(s is api.wrap(s))
     self.assertTrue(s is api.unwrap(s))
예제 #5
0
 def test_wrapping(self):
     s = ''
     self.assertIs(s, api.wrap(s))
     self.assertIs(s, api.unwrap(s))
예제 #6
0
파일: test_api.py 프로젝트: ish/dottedish
 def test_wrapping(self):
     s = ''
     self.assertTrue(s is api.wrap(s))
     self.assertTrue(s is api.unwrap(s))