old_contents: import pkg_resources
  
  try:
      __version__ = pkg_resources.get_distribution(__name__).version
  except pkg_resources.DistributionNotFound:
      __version__ = None
  
new_contents: import pkg_resources
  
  try:
      __version__ = pkg_resources.get_distribution(__name__).version
  except pkg_resources.DistributionNotFound:  # pragma: no cover
      __version__ = None
  
subject: Add "no cover" pragma to version setting code