code: def test__repr_latex_(self):
      desired = r"""
  \begin{center}
  \begin{tabular}{lcccccc}
  \toprule
                 & \textbf{coef} & \textbf{std err} & \textbf{t} & \textbf{P$> |$t$|$} & \textbf{[0.025} & \textbf{0.975]}  \\
  \midrule
  \textbf{const} &       7.2248  &        0.866     &     8.346  &         0.000        &        5.406    &        9.044     \\
  \textbf{x1}    &      -0.6609  &        0.177     &    -3.736  &         0.002        &       -1.033    &       -0.289     \\
  \bottomrule
  \end{tabular}
  \end{center}
  """
      x = [1, 5, 7, 3, 5, 5, 8, 3, 3, 4, 6, 4, 2, 7, 4, 2, 1, 9, 2, 6]
      x = add_constant(x)
      y = [6, 4, 2, 7, 4, 2, 1, 9, 2, 6, 1, 5, 7, 3, 5, 5, 8, 3, 3, 4]
      reg = OLS(y, x).fit()
  
      actual = reg.summary().tables[1]._repr_latex_()
      actual = "\n%s\n" % actual
      assert_equal(actual, desired)
  
file_path: statsmodels/statsmodels/iolib/tests/test_summary.py
imports: import numpy
  import pytest
  from numpy.testing import assert_equal
  from statsmodels.datasets import macrodata
  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__repr_latex_() without return types