code: def test_concurrency_limit(self):
      chat = gr.ChatInterface(double, concurrency_limit=10)
      assert chat.concurrency_limit == 10
      fns = [
          fn
          for fn in chat.fns
          if fn.name in {"_submit_fn", "_api_submit_fn"}
      ]
      assert all(fn.concurrency_limit == 10 for fn in fns)
  
imports: import tempfile
  from concurrent.futures import wait
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  import gradio
label_desc: Use image node_id 3 for calling the TestInit obj's underlying member method code with example usage: obj.test_concurrency_limit() without return types