code: def test_check_X_enforce_univariate():
      """Test univariate enforced in check_X."""
      X, y = make_classification_problem(n_columns=2)
      msg = r"univariate"
      with pytest.raises(ValueError, match=msg):
          check_X(X, enforce_univariate=True)
  
      with pytest.raises(ValueError, match=msg):
          check_X_y(X, y, enforce_univariate=True)
  
file_path: sktime/sktime/utils/validation/tests/test_panel.py
imports: import numpy
  import pandas
  import pytest
  from sktime.utils._testing.panel import make_classification_problem
  from sktime.utils.validation.panel import check_X, check_X_y, check_y
label_desc: Use image node_id 3 for calling a global function with example usage: test_check_X_enforce_univariate() without return types