old_contents: # Licensed under a 3-clause BSD style license - see LICENSE.rst
  import warnings
  warnings.warn(
      "astropy.io.votable.voexceptions is deprecated. "
      "Use astropy.io.votable.exceptions",
      DeprecationWarning)
  
  from .exceptions import *
  
new_contents: # Licensed under a 3-clause BSD style license - see LICENSE.rst
  if not _ASTROPY_SETUP_:
      import warnings
      warnings.warn(
          "astropy.io.votable.voexceptions is deprecated. "
          "Use astropy.io.votable.exceptions",
          DeprecationWarning)
  
  from .exceptions import *
  
subject: Hide the deprecation warning about io.vo.voexceptions when in setup mode