code: def test_syntax_error_init(self) -> None:
      cr = bahc.CodeRunner("This is a syntax error", "path", [])
      assert cr.failed is True
      assert cr.error is not None
      assert cr.error_detail is not None
      assert "Invalid syntax in" in cr.error
  
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 2 for calling the TestCodeRunner obj's underlying member method code with example usage: obj.test_syntax_error_init() without return types