code: def test_reload_submodule(self):
      # See #19851.
      name = "spam"
      subname = "ham"
      with test_util.temp_module(name, pkg=True) as pkg_dir:
          fullname, _ = test_util.submodule(name, subname, pkg_dir)
          ham = self.init.import_module(fullname)
          reloaded = self.init.reload(ham)
          self.assertIs(reloaded, ham)
  
imports: from test.test_importlib import util
  import os.path
  import sys
  from test.support import import_helper
  from test.support import os_helper
  import types
  import unittest
label_desc: Use image node_id 7 for calling the ReloadTests obj's underlying member method code with example usage: obj.test_reload_submodule() without return types