code: def test_validation_same_lengths():
      with pytest.raises(ValueError, match="must have the same length"):
          crosstab([1, 2], [1, 2, 3, 4])
  
file_path: catboost/contrib/python/scipy/py3/scipy/stats/tests/test_crosstab.py
imports: import pytest
  import numpy
  from numpy.testing import assert_array_equal
  from scipy.stats.contingency import crosstab
label_desc: Use image node_id 7 for calling a global function with example usage: test_validation_same_lengths() without return types