code: def test_detect_current_filename() -> None:
      filename = biu.detect_current_filename()
      assert filename and filename.endswith(
          ("py.test", "pytest", "py.test-script.py", "pytest-script.py")
      )
  
file_path: bokeh/tests/unit/bokeh/io/test_util__io.py
imports: from __future__ import annotations
  import pytest
  import os
  from unittest.mock import MagicMock, patch
  import bokeh.io.util
label_desc: Use image node_id 1 for calling a global function with example usage: test_detect_current_filename() without return types