code: def test_fmt_bytesize(num, fmt, expected):
      if fmt is None:
          assert fmt_bytesize(num) == expected
      else:
          assert fmt_bytesize(num, fmt) == expected
  
file_path: ydata-profiling/tests/unit/test_formatters.py
imports: import numpy
  import pytest
  from ydata_profiling.report.formatters import fmt_array, fmt_bytesize, fmt_class, fmt_color, fmt_monotonic, fmt_numeric
label_desc: Use image node_id 3 for calling a global function with example usage: test_fmt_bytesize(num, fmt, expected) without return types