old_contents: """Provides `subprocess.run()` from Python 3.5+ if available. Otherwise falls back to `subprocess.check_output()`."""
  
  try:
      from subprocess import run
  except ImportError:
      from collections import namedtuple
      from subprocess import check_output
      def run(args, *, stdin=None, input=None, stdout=None, stderr=None, shell=False, timeout=None, check=False, encoding=None, errors=None):
          stdout_bytes = check_output(args, stdin=stdin, stderr=stderr, shell=shell, encoding=encoding, errors=errors, timeout=timeout)
          Output = namedtuple('Output', ['stdout'])
          return Output(stdout=stdout_bytes)
  
new_contents: """Provides `subprocess.run()` from Python 3.5+ if available. Otherwise falls back to `subprocess.check_output()`."""
  
  try:
      from subprocess import run
  except ImportError:
      from collections import namedtuple
      from subprocess import check_output
      def run(args, *, stdin=None, input=None, stdout=None, stderr=None, shell=False, timeout=None, check=False, encoding=None, errors=None):
          stdout_bytes = check_output(args, stdin=stdin, stderr=stderr, shell=shell, timeout=timeout)
          Output = namedtuple('Output', ['stdout'])
          return Output(stdout=stdout_bytes)
  
subject: Remove parameters that are not supported