code: def test_autoscaling_config():
      v1 = DeploymentVersion(
          "1",
          DeploymentConfig(autoscaling_config={"max_replicas": 2}),
          {},
      )
      v2 = DeploymentVersion(
          "1",
          DeploymentConfig(autoscaling_config={"max_replicas": 5}),
          {},
      )
  
      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 12 for calling a global function with example usage: test_autoscaling_config() without return types