code: def test_patch(self, status_code, url, json, expected_response):
      response = self.client.patch(
          url, json=json, environ_overrides={"REMOTE_USER": "test"}
      )
      assert response.status_code == status_code
      assert response.json == expected_response
  
imports: from __future__ import annotations
  import pytest
  from airflow.api_connexion.exceptions import EXCEPTIONS_LINK_MAP
  from airflow.models.pool import Pool
  from airflow.security import permissions
  from airflow.utils.session import provide_session
  from tests.test_utils.api_connexion_utils import assert_401, create_user, delete_user
  from tests.test_utils.config import conf_vars
  from tests.test_utils.db import clear_db_pools
label_desc: Use image node_id 2 for calling the TestModifyDefaultPool obj's underlying member method code with example usage: obj.test_patch(status_code, url, json, expected_response) without return types