code: def test_OLSsummary(self):
      # Test that latex output of regular OLS output still contains
      # multiple tables
  
      x = [1, 5, 7, 3, 5]
      x = add_constant(x)
      y1 = [6, 4, 2, 7, 4]
      reg1 = OLS(y1, x).fit()
      with warnings.catch_warnings():
          warnings.simplefilter("ignore")
          actual = reg1.summary().as_latex()
      string_to_find = r"""\end{tabular}
  \begin{tabular}"""
      result = string_to_find in actual
      assert result is True
  
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 6 for calling the TestSummaryLatex obj's underlying member method code with example usage: obj.test_OLSsummary() without return types