code: def assert_equal_hash(byte_str, digest):
      assert get_hash_hex(byte_str) == digest
  
imports: import io
  import os
  from ipywidgets import Image
  import hashlib
  import pkgutil
  import tempfile
  from contextlib import contextmanager
label_desc: Use image node_id 19 for calling a global function with example usage: assert_equal_hash(byte_str, digest) without return types