code: def test_create_subprocess_env_shell(self) -> None:
      async def main() -> None:
          cmd = f'''{sys.executable} -c "import os, sys; sys.stdout.write(os.getenv('FOO'))"'''
          env = os.environ.copy()
          env["FOO"] = "bar"
          proc = await asyncio.create_subprocess_shell(
              cmd, env=env, stdout=subprocess.PIPE
          )
          return proc
  
      self.loop.run_until_complete(
          self.check_stdout_output(main(), b"bar")
      )
  
imports: import os
  import signal
  import sys
  import textwrap
  import unittest
  import warnings
  from unittest import mock
  import asyncio
  from asyncio import base_subprocess
  from asyncio import subprocess
  from test.test_asyncio import utils
  from test import support
  from test.support import os_helper
label_desc: Use image node_id 30 for calling the SubprocessMixin obj's underlying member method code with example usage: obj.test_create_subprocess_env_shell() and returns: proc