code: def test_validation_len_levels_matches_args():
      with pytest.raises(ValueError, match="number of input sequences"):
          crosstab([0, 1, 1], [8, 8, 9], levels=([0, 1, 2, 3],))
  
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 9 for calling a global function with example usage: test_validation_len_levels_matches_args() without return types