code: def test_old_ssh_nprocs_renamed_to_n_workers():
      with pytest.warns(FutureWarning, match="renamed to n_workers"):
          with SSHCluster(
              scheduler_addr="127.0.0.1",
              scheduler_port=8687,
              worker_addrs=["127.0.0.1", "127.0.0.1"],
              nprocs=2,
          ) as c:
              assert c.n_workers == 2
  
file_path: distributed/distributed/deploy/tests/test_old_ssh.py
imports: from __future__ import annotations
  from time import sleep
  import pytest
  from distributed import Client
  from distributed.deploy.old_ssh import SSHCluster
  from distributed.metrics import time
label_desc: Use image node_id 2 for calling a global function with example usage: test_old_ssh_nprocs_renamed_to_n_workers() without return types