old_contents: from lib import dmp_monkey
  dmp_monkey.monkey_patch()
  
  from lib import diff_match_patch
  DMP = diff_match_patch.diff_match_patch()
  
new_contents: try:
      from . import dmp_monkey
  except ImportError:
      import dmp_monkey
  
  dmp_monkey.monkey_patch()
  
  try:
      from . import diff_match_patch
  except ImportError:
      import diff_match_patch
  
  DMP = diff_match_patch.diff_match_patch()
  
subject: Fix import of DMP.