code: def test_endog_1D_array():
      assert_raises(ValueError, MANOVA.from_formula, "Basal ~ Loc", X)
  
file_path: statsmodels/statsmodels/multivariate/tests/test_manova.py
imports: import numpy
  import pandas
  import pytest
  from numpy.testing import assert_almost_equal, assert_raises, assert_allclose
  from statsmodels.multivariate.manova import MANOVA
  from statsmodels.multivariate.multivariate_ols import MultivariateTestResults
  from statsmodels.tools import add_constant
label_desc: Use image node_id 5 for calling a global function with example usage: test_endog_1D_array() without return types