code: def test_lltrace_different_module(self):
      stdout = self.run_code(
          """
              from test import test_lltrace
              test_lltrace.__lltrace__ = 1
              test_lltrace.example()
          """
      )
      self.assertIn("'example' in module 'test.test_lltrace'", stdout)
      self.assertIn("LOAD_CONST", stdout)
      self.assertIn("FOR_ITER", stdout)
      self.assertIn("this is an example", stdout)
  
      # check that offsets match the output of dis.dis()
      instr_map = {
          i.offset: i
          for i in dis.get_instructions(example, adaptive=True)
      }
      for line in stdout.splitlines():
          offset, colon, opname_oparg = line.partition(":")
          if not colon:
              continue
          offset = int(offset)
          opname_oparg = opname_oparg.split()
          if len(opname_oparg) == 2:
              opname, oparg = opname_oparg
              oparg = int(oparg)
          else:
              (opname,) = opname_oparg
              oparg = None
          self.assertEqual(instr_map[offset].opname, opname)
          self.assertEqual(instr_map[offset].arg, oparg)
  
file_path: cpython/Lib/test/test_lltrace.py
imports: import dis
  import textwrap
  import unittest
  from test import support
  from test.support import os_helper
  from test.support.script_helper import assert_python_ok
label_desc: Use image node_id 3 for calling the TestLLTrace obj's underlying member method code with example usage: obj.test_lltrace_different_module() without return types