code: def test_haversine_distances_op():
      # shape[1] != 2
      with pytest.raises(ValueError):
          haversine_distances(mt.random.rand(10, 3))
  
      # shape[1] != 2
      with pytest.raises(ValueError):
          haversine_distances(
              mt.random.rand(10, 2), mt.random.rand(11, 3)
          )
  
      # cannot support sparse
      with pytest.raises(TypeError):
          haversine_distances(
              mt.random.randint(10, size=(10, 2), density=0.5)
          )
  
imports: import numpy
  import pytest
  from sklearn.metrics.pairwise import haversine_distances
  from .....None import tensor
  from ..None import haversine_distances
label_desc: Use image node_id 1 for calling a global function with example usage: test_haversine_distances_op() without return types