code: def test_dotted_name_not_a_package(self):
      # test ImportError is raised when the first part of a dotted name is
      # not a package.
      #
      # Issue #14798.
      self.assertRaises(
          ImportError, pyclbr.readmodule_ex, "asyncio.foo"
      )
  
imports: import sys
  from textwrap import dedent
  from types import FunctionType, MethodType, BuiltinFunctionType
  import pyclbr
  from unittest import TestCase, main
  from test.test_importlib import util
  import warnings
label_desc: Use image node_id 3 for calling the ReadmoduleTests obj's underlying member method code with example usage: obj.test_dotted_name_not_a_package() without return types