old_contents: import os
  import yaml
  from pathlib import Path
  
  
  def read_yml(file):
      """Reads a yaml file and outputs a Dictionary"""
      with open(file, 'r') as yaml_file:
          return yaml.load(yaml_file)
  
  
  def mkdir(file_path):
      """ Creates directories for the file path"""
      Path(os.path.dirname(file_path)).mkdir(parents=True, exist_ok=True)
  
  
  def list_wrap(x):
      """
      Returns input if is an tuple or list,
      otherwise it wraps x in an list
      """
      if isinstance(x, list) or isinstance(x, tuple):
          return x
      else:
          return [x]
  
  
  def merge(x, y):
      """Given two dicts, merge them into a new dict as a shallow copy."""
      z = x.copy()
      z.update(y)
      return z
  
new_contents: import os
  import yaml
  from pathlib import Path
  
  
  def read_yml(file):
      """Reads a yaml file and outputs a Dictionary"""
      with open(file, 'r') as yaml_file:
          return yaml.load(yaml_file, Loader=yaml.FullLoader)
  
  
  def mkdir(file_path):
      """ Creates directories for the file path"""
      Path(os.path.dirname(file_path)).mkdir(parents=True, exist_ok=True)
  
  
  def list_wrap(x):
      """
      Returns input if is an tuple or list,
      otherwise it wraps x in an list
      """
      if isinstance(x, list) or isinstance(x, tuple):
          return x
      else:
          return [x]
  
  
  def merge(x, y):
      """Given two dicts, merge them into a new dict as a shallow copy."""
      z = x.copy()
      z.update(y)
      return z
  
subject: Fix PyYAML warning (see #86).