code: def test_reset_stats():
      Image.core.reset_stats()
  
      stats = Image.core.get_stats()
      assert stats["new_count"] == 0
      assert stats["reused_blocks"] == 0
      assert stats["freed_blocks"] == 0
      assert stats["allocated_blocks"] == 0
      assert stats["reallocated_blocks"] == 0
      assert stats["blocks_cached"] == 0
  
imports: import sys
  import pytest
  from PIL import Image
  from .helper import is_pypy
label_desc: Use image node_id 2 for calling a global function with example usage: test_reset_stats() without return types