def METHOD_NAME(self):
    radius = 4
    depth = ImageDepth(radius, napers=500, niters=2,
                       overlap=True, seed=123, progress_bar=False)
    data = np.zeros((300, 400))
    mask = None
    with pytest.warns(AstropyUserWarning,
                      match='One or more flux_limit values was zero'):
        limits = depth(data, mask)
        assert_allclose(limits, (0.0, np.inf))