old_contents: # coding: utf-8
  """
  Support for Pygments tests
  """
  
  import os
  
  
  def location(mod_name):
      """
      Return the file and directory that the code for *mod_name* is in.
      """
      source = mod_name[:-1] if mod_name.endswith("pyc") else mod_name
      source = os.path.abspath(source)
      return source, os.path.dirname(source)
  
new_contents: # coding: utf-8
  """
  Support for Pygments tests
  """
  
  import os
  
  
  def location(mod_name):
      """
      Return the file and directory that the code for *mod_name* is in.
      """
      source = mod_name.endswith("pyc") and mod_name[:-1] or mod_name
      source = os.path.abspath(source)
      return source, os.path.dirname(source)
  
subject: fix 2.3 compatibility.