code: def test_service_info_inherited_env(arrow_compose_path):
      compose = DockerCompose(arrow_compose_path)
      service = compose.config.raw_config["services"]["ubuntu-c-glib"]
      assert compose.info(service, filters="environment") == [
          "  environment",
          "    AWS_ACCESS_KEY_ID: <inherited>",
          "    AWS_SECRET_ACCESS_KEY: <inherited>",
          "    SCCACHE_BUCKET: <inherited>",
      ]
  
imports: import collections
  import os
  import re
  import subprocess
  from unittest import mock
  import pytest
  from archery.docker import DockerCompose
  from archery.testing import assert_subprocess_calls, override_env, PartialEnv
label_desc: Use image node_id 24 for calling a global function with example usage: test_service_info_inherited_env(arrow_compose_path) without return types