diff --git a/python/lsst/pipe/tasks/insertFakes.py b/python/lsst/pipe/tasks/insertFakes.py index 140bf712c..1c60da596 100644 --- a/python/lsst/pipe/tasks/insertFakes.py +++ b/python/lsst/pipe/tasks/insertFakes.py @@ -56,7 +56,7 @@ def _add_fake_sources(exposure, objects, calibFluxRadius=12.0, logger=None): exposure+catalog. This is used to produce the correct instrumental fluxes within the radius. The value should match that of the field defined in slot_CalibFlux_instFlux. - logger : `lsst.log.log.log.Log` or `logging.Logger`, optional + logger : `logging.Logger`, optional Logger. """ exposure.mask.addMaskPlane("FAKE") diff --git a/tests/test_calibrateImage.py b/tests/test_calibrateImage.py index f4cf37795..037ba8966 100644 --- a/tests/test_calibrateImage.py +++ b/tests/test_calibrateImage.py @@ -646,7 +646,6 @@ def mock_run(exposures, result=None, id_generator=None): with ( mock.patch.object(task, "run", side_effect=mock_run), self.assertRaises(lsst.pipe.base.AnnotatedPartialOutputsError), - lsst.log.UsePythonLogging(), # so that assertLogs works with lsst.log ): with self.assertLogs("lsst.calibrateImage", level="ERROR") as cm: lsst.pipe.base.testUtils.runTestQuantum(task, diff --git a/ups/pipe_tasks.cfg b/ups/pipe_tasks.cfg index b34050511..c6f86eca9 100644 --- a/ups/pipe_tasks.cfg +++ b/ups/pipe_tasks.cfg @@ -5,7 +5,6 @@ import lsst.sconsUtils dependencies = dict( required = [ "afw", - "log", "meas_base", "pex_config", ],