code: def test_python_jaccard(
      cooccurrence1, cooccurrence2, target_matrices
  ):
      J1 = jaccard(cooccurrence1)
      assert type(J1) == np.ndarray
      assert J1 == target_matrices["jaccard1"]
  
      J2 = jaccard(cooccurrence2)
      assert type(J2) == np.ndarray
      assert J2 == target_matrices["jaccard2"]
  
file_path: recommenders/tests/unit/recommenders/utils/test_python_utils.py
imports: import pytest
  import numpy
  from recommenders.utils.python_utils import exponential_decay, jaccard, lift, get_top_k_scored_items, binarize, rescale
label_desc: Use image node_id 5 for calling a global function with example usage: test_python_jaccard(cooccurrence1, cooccurrence2, target_matrices) without return types