Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/p/y/py_cache_manager-HEAD/tests/wrap_tests.py   py_cache_manager(Download)
    def test_delete_save(self):
        cache_name = self.check_cache_gone('deleted')
        cache = PersistentCache(cache_name, cache_manager=self.manager)
        cache['foo'] = 'bar'
        cache.__del__() # To avoid lazy deletion calls/reference counts