old_contents: """
  :Author: Adam Ginsburg <adam.g.ginsburg@gmail.com> and Jordan Mirocha <mirochaj@gmail.com>
  .. moduleauthor:: Adam Ginsburg <adam.g.ginsburg@gmail.com>
  """
  from ._astropy_init import *
  
  __all__ = ['spectrum','cubes','wrappers']
  
  if not _ASTROPY_SETUP_:
      from .version import version as __version__
      from . import spectrum
      from . import specwarnings
      try:
          from . import cubes
      except ImportError:
          specwarnings.warn( "pyspeckit.cubes module not imported - cubes requires pywcs" )
      from . import wrappers
      from .wrappers import *
      from .cubes import *
      from .spectrum import *
  
      try:
          from .tests import run_tests
  
          def test(*args, **kwargs):
              #import os
              #os.chdir(os.path.split(os.path.abspath(tests.__file__))[0])
              from .spectrum.tests import test_eqw
              test_eqw.test_eqw()
              from .spectrum.models.tests import test_template
              test_template.test_template()
              test_template.test_template_withcont()
              run_tests.test_everything()
      except ImportError:
          # This makes no sense.
          pass
  
new_contents: """
  :Author: Adam Ginsburg <adam.g.ginsburg@gmail.com> and Jordan Mirocha <mirochaj@gmail.com>
  .. moduleauthor:: Adam Ginsburg <adam.g.ginsburg@gmail.com>
  """
  from ._astropy_init import *
  
  __all__ = ['spectrum','cubes','wrappers']
  
  if not _ASTROPY_SETUP_:
      from . import spectrum
      from . import specwarnings
      try:
          from . import cubes
      except ImportError:
          specwarnings.warn( "pyspeckit.cubes module not imported - cubes requires pywcs" )
      from . import wrappers
      from .wrappers import *
      from .cubes import *
      from .spectrum import *
  
      try:
          from .tests import run_tests
  
          def test(*args, **kwargs):
              #import os
              #os.chdir(os.path.split(os.path.abspath(tests.__file__))[0])
              from .spectrum.tests import test_eqw
              test_eqw.test_eqw()
              from .spectrum.models.tests import test_template
              test_template.test_template()
              test_template.test_template_withcont()
              run_tests.test_everything()
      except ImportError:
          # This makes no sense.
          pass
  
subject: remove version import: it is not needed