code: def test_workflow_concurrency_limit_argument(shutdown_only):
      with pytest.raises(TypeError):
          workflow.init(1, 2)
  
      with pytest.raises(TypeError):
          workflow.init(max_running_workflows=1.7)
  
      with pytest.raises(TypeError):
          workflow.init(max_pending_workflows=1.7)
  
      with pytest.raises(ValueError):
          workflow.init(max_running_workflows=-2)
  
      with pytest.raises(ValueError):
          workflow.init(max_pending_workflows=-2)
  
      with pytest.raises(ValueError):
          workflow.init(max_running_workflows=0)
  
file_path: ray/python/ray/workflow/tests/test_workflow_queuing.py
imports: import pytest
  import ray
  from ray import workflow
  from ray.tests.conftest import *
label_desc: Use image node_id 1 for calling a global function with example usage: test_workflow_concurrency_limit_argument(shutdown_only) without return types