ords) == 1 record, = caplog.records assert (record.name == "matplotlib.animation" and record.levelname == "WARNING")