old_contents: # encoding=utf8
  import sys
  
  reload(sys)
  sys.setdefaultencoding("utf8")
new_contents: # encoding=utf8
  import sys
  
  try:
      reload(sys)
  except NameError:
      import imp
      imp.reload(sys)
  
  sys.setdefaultencoding("utf8")
  
subject: Fix Travis