diff --git a/tests/test_calibrateImage.py b/tests/test_calibrateImage.py index fe43af757..c92547d85 100644 --- a/tests/test_calibrateImage.py +++ b/tests/test_calibrateImage.py @@ -75,9 +75,7 @@ def setUp(self): dataset.addSource(instFlux=500*noise*psf_scale, centroid=center, shape=shape) schema = dataset.makeMinimalSchema() - afwTable.CoordKey.addErrorFields(schema) self.truth_exposure, self.truth_cat = dataset.realize(noise=noise, schema=schema) - lsst.afw.table.updateSourceCoords(self.truth_exposure.wcs, self.truth_cat) # To make it look like a version=1 (nJy fluxes) refcat self.truth_cat = self.truth_exposure.photoCalib.calibrateCatalog(self.truth_cat) self.ref_loader = testUtils.MockReferenceObjectLoaderFromMemory([self.truth_cat])