tests/negative.py
/Users/dreiss/lsstsw/miniconda/lib/python2.7/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
sourceDetection: Detected 8 positive sources to 5 sigma.
sourceDetection: Detected 8 negative sources to 5 sigma
measurement: Measuring 16 sources (16 parents, 0 children)
measurement WARNING: Error in base_SkyCoord.measure on record 1: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 2: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 3: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 4: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 5: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 6: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 7: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 8: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 9: Wcs not attached to exposure. Required for base_SkyCoord algorithm
/Users/dreiss/lsstsw/miniconda/lib/python2.7/site-packages/numpy/core/_methods.py:59: RuntimeWarning: Mean of empty slice.
warnings.warn("Mean of empty slice.", RuntimeWarning)
/Users/dreiss/lsstsw/miniconda/lib/python2.7/site-packages/numpy/core/_methods.py:70: RuntimeWarning: invalid value encountered in true_divide
ret = ret.dtype.type(ret / rcount)
measurement WARNING: Error in base_SkyCoord.measure on record 10: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 11: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 12: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 13: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 14: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 15: Wcs not attached to exposure. Required for base_SkyCoord algorithm
measurement WARNING: Error in base_SkyCoord.measure on record 16: Wcs not attached to exposure. Required for base_SkyCoord algorithm
F
======================================================================
FAIL: testBasics (__main__.NegativeMeasurementTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/negative.py", line 86, in testBasics
self.assertEqual(nGoodShape, numX * numY)
AssertionError: 8 != 16
----------------------------------------------------------------------
Ran 1 test in 0.056s
FAILED (failures=1)