code: def test_run_sets_ran(self) -> None:
      cr = bahc.CodeRunner("# test", "path", [])
      m = cr.new_module()
      assert not cr.ran
      cr.run(m, lambda: None)
      assert cr.ran
  
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 10 for calling the TestCodeRunner obj's underlying member method code with example usage: obj.test_run_sets_ran() without return types