code: def test_external_test_module_imports_not_cleaned_up(
      self, pytester: Pytester
  ) -> None:
      pytester.syspathinsert()
      pytester.makepyfile(imported="data = 'you son of a silly person'")
      import imported
  
      test_mod = pytester.makepyfile(
          """
              def test_foo():
                  import imported
                  imported.data = 42"""
      )
      pytester.inline_run(str(test_mod))
      assert imported.data == 42
  
imports: import os
  import subprocess
  import sys
  import time
  from types import ModuleType
  from typing import List
  import _pytest.pytester
  import pytest
  from _pytest.config import ExitCode
  from _pytest.config import PytestPluginManager
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import HookRecorder
  from _pytest.pytester import LineMatcher
  from _pytest.pytester import Pytester
  from _pytest.pytester import SysModulesSnapshot
  from _pytest.pytester import SysPathsSnapshot
label_desc: Use image node_id 5 for calling the TestInlineRunModulesCleanup obj's underlying member method code with example usage: obj.test_external_test_module_imports_not_cleaned_up(pytester) without return types