old_contents: import sys, os
  sys.path.insert(0, os.path.join(
      os.path.dirname(os.path.dirname(__file__)), 'formencode'))
  import pkg_resources
  try:
      import elementtree
  except ImportError:
      pkg_resources.require('FormEncode[testing]')
  
new_contents: import sys, os
  sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
  import pkg_resources
  try:
      import elementtree
  except ImportError:
      pkg_resources.require('FormEncode[testing]')
  
subject: Put in proper path