code: def test_num_replicas():
      v1 = DeploymentVersion("1", DeploymentConfig(num_replicas=1), {})
      v2 = DeploymentVersion("1", DeploymentConfig(num_replicas=2), {})
  
      assert v1 == v2
      assert hash(v1) == hash(v2)
  
imports: import pytest
  import ray
  from ray.serve._private.config import DeploymentConfig
  from ray.serve._private.deployment_state import DeploymentVersion
label_desc: Use image node_id 11 for calling a global function with example usage: test_num_replicas() without return types