code: def test_free_all_blocks_without_malloc(self):
      # call directly without malloc.
      self.pool.free_all_blocks()
      assert self.pool.n_free_blocks() == 0
  
imports: import unittest
  from cupy.cuda import pinned_memory
label_desc: Use image node_id 9 for calling the TestSingleDeviceMemoryPool obj's underlying member method code with example usage: obj.test_free_all_blocks_without_malloc() without return types