code: def test_endog_1D_array():
      assert_raises(
          ValueError,
          _MultivariateOLS.from_formula,
          "Histamine0 ~ 0 + Depleted",
          data,
      )
  
imports: import os.path
  import numpy
  import pandas
  import pytest
  from statsmodels.regression.linear_model import OLS
  from statsmodels.multivariate.multivariate_ols import _MultivariateOLS, MultivariateLS
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_raises
  import patsy
label_desc: Use image node_id 8 for calling a global function with example usage: test_endog_1D_array() without return types