code: def test_detect_kubeflow():
      """Test that the KubeflowEnvironment does not support auto-detection."""
      with pytest.raises(
          NotImplementedError, match="can't be detected automatically"
      ):
          KubeflowEnvironment.detect()
  
file_path: pytorch-lightning/tests/tests_fabric/plugins/environments/test_kubeflow.py
imports: import logging
  import os
  from unittest import mock
  import pytest
  from lightning.fabric.plugins.environments import KubeflowEnvironment
label_desc: Use image node_id 3 for calling a global function with example usage: test_detect_kubeflow() without return types