code: def test_summary():
      if debug_mode:
          if "summary" not in to_test:  # pragma: no cover
              return
          else:
              print("\n\nSUMMARY", end="")
      for ds in datasets:
          for dt in ds.dt_s_list:
              if debug_mode:
                  print("\n" + dt_s_tup_to_string(dt) + ": ", end="")
  
              # see if summary gets printed
              results_sm[ds][dt].summary(alpha=0.05)
  
              exog = results_sm_exog[ds][dt].exog is not None
              if exog is not None:
                  results_sm_exog[ds][dt].summary(alpha=0.05)
  
              exog_coint = (
                  results_sm_exog_coint[ds][dt].exog_coint is not None
              )
              if exog_coint is not None:
                  results_sm_exog_coint[ds][dt].summary(alpha=0.05)
  
imports: import numpy
  from numpy.testing import assert_, assert_allclose, assert_array_equal, assert_raises, assert_raises_regex
  import pytest
  import statsmodels.datasets.interest_inflation.data
  from statsmodels.tools.testing import assert_equal
  from statsmodels.tsa.vector_ar.tests.JMulTi_results.parse_jmulti_vecm_output import dt_s_tup_to_string, load_results_jmulti, sublists
  from statsmodels.tsa.vector_ar.util import seasonal_dummies
  from statsmodels.tsa.vector_ar.var_model import VARProcess
  from statsmodels.tsa.vector_ar.vecm import VECM, select_coint_rank, select_order
label_desc: Use image node_id 23 for calling a global function with example usage: test_summary() without return types