import unittest

testfiles = [
    'tkp.tests.accessors',
    'tkp.tests.classification',
    'tkp.tests.config',
    'tkp.tests.coordinates',
    'tkp.tests.database',
    'tkp.tests.dataset',
    'tkp.tests.FDR',
    'tkp.tests.feature_extraction',
    'tkp.tests.gaussian',
    'tkp.tests.L15_12h_const',
    'tkp.tests.sigmaclip',
    'tkp.tests.source_measurements',
    'tkp.tests.wcs',
]

# Pyrap is required for AIPS++ image support, but
# not necessary for the rest of the library.
try:
    import pyrap
except:
    pass
else:
    testfiles.append('tkp.tests.aipsppimage')

import unittest

testfiles = [
    'tkp.tests.accessors',
    'tkp.tests.classification',
    'tkp.tests.config',
    'tkp.tests.coordinates',
    'tkp.tests.database',
    'tkp.tests.dataset',
    'tkp.tests.FDR',
    'tkp.tests.feature_extraction',
    'tkp.tests.gaussian',
    'tkp.tests.L15_12h_const',
    'tkp.tests.sigmaclip',
    'tkp.tests.source_measurements',
    'tkp.tests.wcs',
    'tkp.tests.aipsppimage'
]

Remove special-casing of aipsppimage test
Remove special-casing of aipsppimage test

We have other dependencies on pyrap too...

git-svn-id: 71bcaaf8fac6301ed959c5094abb905057e55e2d@2123 2b73c8c1-3922-0410-90dd-bc0a5c6f2ac6

  import unittest
  
  testfiles = [
      'tkp.tests.accessors',
      'tkp.tests.classification',
      'tkp.tests.config',
      'tkp.tests.coordinates',
      'tkp.tests.database',
      'tkp.tests.dataset',
      'tkp.tests.FDR',
      'tkp.tests.feature_extraction',
      'tkp.tests.gaussian',
      'tkp.tests.L15_12h_const',
      'tkp.tests.sigmaclip',
      'tkp.tests.source_measurements',
      'tkp.tests.wcs',
+     'tkp.tests.aipsppimage'
  ]
  
- # Pyrap is required for AIPS++ image support, but
- # not necessary for the rest of the library.
- try:
-     import pyrap
- except:
-     pass
- else:
-     testfiles.append('tkp.tests.aipsppimage')
- 
Remove special-casing of aipsppimage test
## Code Before:
import unittest

testfiles = [
    'tkp.tests.accessors',
    'tkp.tests.classification',
    'tkp.tests.config',
    'tkp.tests.coordinates',
    'tkp.tests.database',
    'tkp.tests.dataset',
    'tkp.tests.FDR',
    'tkp.tests.feature_extraction',
    'tkp.tests.gaussian',
    'tkp.tests.L15_12h_const',
    'tkp.tests.sigmaclip',
    'tkp.tests.source_measurements',
    'tkp.tests.wcs',
]

# Pyrap is required for AIPS++ image support, but
# not necessary for the rest of the library.
try:
    import pyrap
except:
    pass
else:
    testfiles.append('tkp.tests.aipsppimage')

## Instruction:
Remove special-casing of aipsppimage test
## Code After:
import unittest

testfiles = [
    'tkp.tests.accessors',
    'tkp.tests.classification',
    'tkp.tests.config',
    'tkp.tests.coordinates',
    'tkp.tests.database',
    'tkp.tests.dataset',
    'tkp.tests.FDR',
    'tkp.tests.feature_extraction',
    'tkp.tests.gaussian',
    'tkp.tests.L15_12h_const',
    'tkp.tests.sigmaclip',
    'tkp.tests.source_measurements',
    'tkp.tests.wcs',
    'tkp.tests.aipsppimage'
]
