code: def test_new_module_package(self) -> None:
      cr = bahc.CodeRunner("# test", "/foo/__init__.py", [])
      package = cr.new_module()
  
      cr = bahc.CodeRunner("# test", "path", [], package=package)
      m = cr.new_module()
  
      assert isinstance(m, ModuleType)
      assert m.__dict__["__name__"].startswith("bokeh_app_")
      assert m.__dict__["__file__"] == abspath("path")
      assert m.__dict__["__package__"] == package.__dict__["__name__"]
  
imports: from __future__ import annotations
  import pytest
  import os
  import sys
  from os.path import abspath, dirname
  from types import ModuleType
  import bokeh.application.handlers.code_runner
label_desc: Use image node_id 5 for calling the TestCodeRunner obj's underlying member method code with example usage: obj.test_new_module_package() without return types