code: def test_all_inputs_same_sig():
      gis = ImageSignature()
      sig1 = gis.generate_signature(test_img_url)
      sig2 = gis.generate_signature("test.jpg")
      with open("test.jpg", "rb") as f:
          sig3 = gis.generate_signature(f.read(), bytestream=True)
  
      assert array_equal(sig1, sig2)
      assert array_equal(sig2, sig3)
  
file_path: image-match/tests/test_goldberg.py
imports: import pytest
  from numpy import ndarray, array_equal
  from image_match.goldberg import ImageSignature, CorruptImageError
label_desc: Use image node_id 6 for calling a global function with example usage: test_all_inputs_same_sig() without return types