code: def test_basic_save_load(self):
      # save and load the pagerank model
      with util.TempDirectory() as tmp_pr_model_file:
          self.pr_model.save(tmp_pr_model_file)
          pr_model2 = tc.load_model(tmp_pr_model_file)
          self.__assert_model_equals__(self.pr_model, pr_model2)
  
      # save and load the connected_component model
      with util.TempDirectory() as tmp_cc_model_file:
          self.cc_model.save(tmp_cc_model_file)
          cc_model2 = tc.load_model(tmp_cc_model_file)
          self.__assert_model_equals__(self.cc_model, cc_model2)
  
      # handle different types of urls.
      # TODO: test hdfs and s3 urls.
      for url in [
          "./tmp_model-%d" % temp_number,
          "/tmp/tmp_model-%d" % temp_number,
          "~/tmp/tmp_model-%d" % temp_number,
      ]:
          self.pr_model.save(url)
          self.__assert_model_equals__(
              self.pr_model, tc.load_model(url)
          )
  
file_path: turicreate/src/python/turicreate/test/test_models.py
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  import turicreate
  import os
  import unittest
  from .None import util
  import shutil
  import random
  import sys
label_desc: Use image node_id 5 for calling the TestModel obj's underlying member method code with example usage: obj.test_basic_save_load() without return types