For
and
,
nonnegative functions on
, we show that the weighted inequality
\[
\]
holds for all
if and only if both
\[
\]
and
\[
\]
hold for all dyadic cubes
. Here
denotes a fractional integral or, more generally, a convolution operator whose kernel
is a positive lower semicontinuous radial function decreasing in
and satisfying
,
. Applications to degenerate elliptic differential operators are indicated. In addition, a corresponding characterization of those weights
on
and
on
for which the Poisson operator is bounded from
to
is given.