def METHOD_NAME(self, script: PipTestEnvironment) -> None:
    """Test that custom pip configuration using the environment variable
    PIP_CONFIG_FILE is correctly displayed under "env". This configuration
    takes place of per-user configuration file displayed under "user".
    """
    config_file = script.scratch_path / "test-pip.cfg"
    script.environ["PIP_CONFIG_FILE"] = str(config_file)
    config_file.write_text(
        textwrap.dedent(
            """\
        [global]
        timeout = 60
        [freeze]
        timeout = 10
        """
        )
    )
    result = script.pip("config", "debug")
    assert f"{config_file}, exists: True" in result.stdout
    assert "global.timeout: 60" in result.stdout
    assert "freeze.timeout: 10" in result.stdout
    assert re.search(r"env:\n(  .+\n)+", result.stdout)