code: def test_getframe_smoke():
      #  mostly smoke tests for now
      mod = Factor(X.iloc[:, 1:-1], 2, smc=True)
      res = mod.fit()
  
      df = res.get_loadings_frame(style="raw")
      assert_(isinstance(df, pd.DataFrame))
  
      lds = res.get_loadings_frame(
          style="strings", decimals=3, threshold=0.3
      )
  
      # The Styler option require jinja2, skip if not available
      try:
          from jinja2 import Template  # noqa:F401
      except ImportError:
          return
          # TODO: separate this and do pytest.skip?
  
      # Old implementation that warns
      if PD_LT_1_4:
          with warnings.catch_warnings():
              warnings.simplefilter("always")
              lds.to_latex()
      else:
          # Smoke test using new style to_latex
          lds.style.to_latex()
      try:
          from pandas.io import formats as pd_formats
      except ImportError:
          from pandas import formats as pd_formats
  
      ldf = res.get_loadings_frame(style="display")
      assert_(isinstance(ldf, pd_formats.style.Styler))
      assert_(isinstance(ldf.data, pd.DataFrame))
  
      res.get_loadings_frame(style="display", decimals=3, threshold=0.2)
  
      res.get_loadings_frame(
          style="display", decimals=3, color_max="GAINSBORO"
      )
  
      res.get_loadings_frame(
          style="display",
          decimals=3,
          threshold=0.45,
          highlight_max=False,
          sort_=False,
      )
  
file_path: statsmodels/statsmodels/multivariate/tests/test_factor.py
imports: import warnings
  from statsmodels.compat.pandas import PD_LT_1_4
  import os
  import numpy
  import pandas
  from statsmodels.multivariate.factor import Factor
  from numpy.testing import assert_equal, assert_array_almost_equal, assert_, assert_raises, assert_array_equal, assert_array_less, assert_allclose
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_getframe_smoke() without return types