code: def test_summarycol(self):
      # Test for latex output of summary_col object
      desired = r"""
  \begin{table}
  \caption{}
  \label{}
  \begin{center}
  \begin{tabular}{lll}
  \hline
                 & y I      & y II      \\
  \hline
  const          & 7.7500   & 12.4231   \\
                 & (1.1058) & (3.1872)  \\
  x1             & -0.7500  & -1.5769   \\
                 & (0.2368) & (0.6826)  \\
  R-squared      & 0.7697   & 0.6401    \\
  R-squared Adj. & 0.6930   & 0.5202    \\
  \hline
  \end{tabular}
  \end{center}
  \end{table}
  \bigskip
  Standard errors in parentheses.
  """
      x = [1, 5, 7, 3, 5]
      x = add_constant(x)
      y1 = [6, 4, 2, 7, 4]
      y2 = [8, 5, 0, 12, 4]
      reg1 = OLS(y1, x).fit()
      reg2 = OLS(y2, x).fit()
      actual = summary_col([reg1, reg2]).as_latex()
      actual = "\n%s\n" % actual
      assert_equal(desired, actual)
  
file_path: statsmodels/statsmodels/iolib/tests/test_summary2.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from numpy.testing import assert_equal
  from statsmodels.iolib.summary2 import summary_col
  from statsmodels.tools.tools import add_constant
  from statsmodels.regression.linear_model import OLS
label_desc: Use image node_id 1 for calling the TestSummaryLatex obj's underlying member method code with example usage: obj.test_summarycol() without return types