code: def test_create_subprocess_exec_text_mode_fails(self):
      async def execute():
          with self.assertRaises(ValueError):
              await subprocess.create_subprocess_exec(
                  sys.executable, text=True
              )
  
          with self.assertRaises(ValueError):
              await subprocess.create_subprocess_exec(
                  sys.executable, encoding="utf-8"
              )
  
          with self.assertRaises(ValueError):
              await subprocess.create_subprocess_exec(
                  sys.executable, errors="strict"
              )
  
      self.loop.run_until_complete(execute())
  
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 27 for calling the SubprocessMixin obj's underlying member method code with example usage: obj.test_create_subprocess_exec_text_mode_fails() without return types