import os
# setup paths to the test data
# can specify a single file or a list of files


def get_package_data():
    paths = [os.path.join('data', '*.fit')]
    # finally construct and return a dict for the sub module
    return {'astroquery.astrometry_net.tests': paths}

import os
# setup paths to the test data
# can specify a single file or a list of files


def get_package_data():
    paths = [os.path.join('data', '*.fit')] + [os.path.join('data', '*.fit.gz')]
    # finally construct and return a dict for the sub module
    return {'astroquery.astrometry_net.tests': paths}

Include gzipped fits files in test data
Include gzipped fits files in test data

  import os
  # setup paths to the test data
  # can specify a single file or a list of files
  
  
  def get_package_data():
-     paths = [os.path.join('data', '*.fit')]
+     paths = [os.path.join('data', '*.fit')] + [os.path.join('data', '*.fit.gz')]
      # finally construct and return a dict for the sub module
      return {'astroquery.astrometry_net.tests': paths}
  
Include gzipped fits files in test data
## Code Before:
import os
# setup paths to the test data
# can specify a single file or a list of files


def get_package_data():
    paths = [os.path.join('data', '*.fit')]
    # finally construct and return a dict for the sub module
    return {'astroquery.astrometry_net.tests': paths}

## Instruction:
Include gzipped fits files in test data
## Code After:
import os
# setup paths to the test data
# can specify a single file or a list of files


def get_package_data():
    paths = [os.path.join('data', '*.fit')] + [os.path.join('data', '*.fit.gz')]
    # finally construct and return a dict for the sub module
    return {'astroquery.astrometry_net.tests': paths}
