old_contents: """
  adjusts module path to account for virtual namespace
  
  This is required primarily for testing.
  """
  
  import sys
  import os
  import pkg_resources
  
  
  VIRTUAL_NAMESPACE = 'tiddlywebplugins'
  
  if sys.version_info[0] <= 2:
      local_package = os.path.abspath(VIRTUAL_NAMESPACE)
      sys.modules[VIRTUAL_NAMESPACE].__dict__['__path__'].insert(0, local_package)
  
new_contents: """
  adjusts module path to account for virtual namespace
  
  This is required primarily for testing.
  """
  
  import sys
  import os
  
  import tiddlywebplugins.utils
  
  
  VIRTUAL_NAMESPACE = 'tiddlywebplugins'
  
  if sys.version_info[0] <= 2:
      local_package = os.path.abspath(VIRTUAL_NAMESPACE)
      sys.modules[VIRTUAL_NAMESPACE].__dict__['__path__'].insert(0, local_package)
  
subject: Update mangler so it works in modern setuptools