Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/b/o/box-0.15.0/tests/component/collections/test_managed_dict.py   box(Download)
    def setUp(self):
        self.MockManagedDict = self._make_mock_managed_dict_class()
        self.dict = self.MockManagedDict({'key1': 'value1'})
 
    def test_clear(self):
    def test_popitem_with_empty_dict(self):
        self.dict = self.MockManagedDict()
        self.assertRaises(KeyError, self.dict.popitem)      
 
    def test_setdefault(self):