class_docstr: Test importlib.import_module.
code: def test_module_import(self):
      # Test importing a top-level module.
      with test_util.mock_spec("top_level") as mock:
          with test_util.import_state(meta_path=[mock]):
              module = self.init.import_module("top_level")
              self.assertEqual(module.__name__, "top_level")
  
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 1 for calling the ImportModuleTests obj's underlying member method code with example usage: obj.test_module_import() without return types