code: def __init__(self, size):
      self.ptr = MockMemory.cur_ptr
      MockMemory.cur_ptr += size
      self.size = size
  
imports: import unittest
  from cupy.cuda import pinned_memory
label_desc: Use image node_id 1 to create a new MockMemory object from inherited base classes: pinned_memory with example: obj = MockMemory(size)