class_docstr: Unit test class for an already trained Kmeans model.
docstr: Unit test for __repr__, __str__, and model summary methods.
code: def test_summaries(self):
      """
      Unit test for __repr__, __str__, and model summary methods.
      """
      try:
          ans = str(self.model)
      except:
          assert False, "Model __repr__ failed."
  
      try:
          print(self.model)
      except:
          assert False, "Model print failed."
  
      try:
          self.model.summary()
      except:
          assert False, "Model summary failed."
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import unittest
  import copy
  import numpy
  from numpy.testing import assert_allclose
  import turicreate
  from .None import util
  from turicreate.util import _assert_sframe_equal
  from turicreate.toolkits._main import ToolkitError
  import sys
label_desc: Use image node_id 4 for calling the KmeansModelTest obj's underlying member method code with example usage: obj.test_summaries() without return types