code: def test_dict():
      np = pytest.importorskip("numpy")
      x = np.ones(10000)
      assert sizeof({"x": x}) > x.nbytes
      assert sizeof({"x": [x]}) > x.nbytes
      assert sizeof({"x": [{"y": x}]}) > x.nbytes
  
      d = {i: x for i in range(100)}
      assert sizeof(d) > x.nbytes * 100
      assert isinstance(sizeof(d), int)
  
imports: from __future__ import annotations
  import os
  import sys
  from array import array
  import pytest
  from dask.multiprocessing import get_context
  from dask.sizeof import sizeof
  from dask.utils import funcname
label_desc: Use image node_id 17 for calling a global function with example usage: test_dict() without return types