code: def test_find_best_matching_array_exceptions():
      with pytest.raises(TypeError):
          find_best_matching_array([1, 2, 3], np.array([1, 2, 3]))
      with pytest.raises(TypeError):
          find_best_matching_array(np.array([1, 2, 3]), [1, 2, 3])
      with pytest.raises(ValueError):
          find_best_matching_array(np.array([]), np.array([1, 2, 3]))
      with pytest.raises(ValueError):
          find_best_matching_array(np.array([1, 2, 3]), np.array([]))
  
file_path: pdftabextract/tests/test_clustering.py
imports: import pytest
  from hypothesis import given
  import hypothesis.strategies
  import numpy
  from scipy.stats import chisquare
  from pdftabextract.clustering import find_clusters_1d_break_dist, zip_clusters_and_values, calc_cluster_centers_1d, array_match_difference_1d, find_best_matching_array, adjust_bad_positions
label_desc: Use image node_id 6 for calling a global function with example usage: test_find_best_matching_array_exceptions() without return types